Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_TimeBasedPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_TimeBasedPulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002188/0.002194, allocations: 185.3 kB / 15.81 MB, free: 6.023 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.298/2.298, allocations: 205.4 MB / 221.9 MB, free: 13.82 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001147/0.001147, allocations: 94.86 kB / 270.3 MB, free: 13.33 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09885/0.09885, allocations: 12.59 MB / 331.1 MB, free: 10.27 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005521/0.0005522, allocations: 12.09 kB / 392.1 MB, free: 54.66 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1158, allocations: 50.37 MB / 442.5 MB, free: 10.75 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.002746/0.1187, allocations: 1.18 MB / 443.7 MB, free: 9.562 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001393/0.1201, allocations: 469.4 kB / 444.1 MB, free: 9.098 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.127e-05/0.1203, allocations: 0 / 444.1 MB, free: 9.098 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.753e-05/0.1203, allocations: 4 kB / 444.1 MB, free: 9.094 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001921/0.1205, allocations: 11.92 kB / 444.1 MB, free: 9.082 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000314/0.1209, allocations: 35.89 kB / 444.2 MB, free: 9.047 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001185/0.121, allocations: 31.95 kB / 444.2 MB, free: 9.016 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.1211, allocations: 6.812 kB / 444.2 MB, free: 9.012 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.13e-05/0.1213, allocations: 19.92 kB / 444.2 MB, free: 8.992 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.221e-05/0.1214, allocations: 23.91 kB / 444.3 MB, free: 8.969 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.255e-05/0.1214, allocations: 0 / 444.3 MB, free: 8.969 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.183e-05/0.1214, allocations: 4 kB / 444.3 MB, free: 8.965 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.564e-05/0.1215, allocations: 7.938 kB / 444.3 MB, free: 8.957 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.977e-05/0.1215, allocations: 33.69 kB / 444.3 MB, free: 8.918 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 9.898e-05/0.1217, allocations: 23.95 kB / 444.3 MB, free: 8.895 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.1217, allocations: 4 kB / 444.3 MB, free: 8.891 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.208e-06/0.1217, allocations: 0 / 444.3 MB, free: 8.891 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.193e-05/0.1217, allocations: 3.938 kB / 444.3 MB, free: 8.887 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007769/0.1225, allocations: 364.1 kB / 444.7 MB, free: 8.484 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.664e-05/0.1226, allocations: 12.03 kB / 444.7 MB, free: 8.473 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.13e-05/0.1227, allocations: 38.56 kB / 444.7 MB, free: 8.426 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.453e-05/0.1227, allocations: 7.906 kB / 444.7 MB, free: 8.418 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002324/0.123, allocations: 182.9 kB / 444.9 MB, free: 8.199 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.698e-05/0.123, allocations: 11.98 kB / 444.9 MB, free: 8.188 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.797e-05/0.1231, allocations: 0 / 444.9 MB, free: 8.188 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006663/0.1238, allocations: 151.1 kB / 445.1 MB, free: 8.027 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.1238, allocations: 0 / 445.1 MB, free: 8.027 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.733e-05/0.1239, allocations: 4 kB / 445.1 MB, free: 8.023 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.1239, allocations: 0 / 445.1 MB, free: 8.023 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002423/0.1242, allocations: 27.98 kB / 445.1 MB, free: 7.996 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001846/0.1244, allocations: 169.5 kB / 445.3 MB, free: 7.781 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003828/0.1248, allocations: 147.7 kB / 445.4 MB, free: 7.609 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.361e-05/0.1248, allocations: 0 / 445.4 MB, free: 7.609 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/0.1249, allocations: 30.56 kB / 445.4 MB, free: 7.57 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 2.424e-06/0.1249, allocations: 0 / 445.4 MB, free: 7.57 MB / 282.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005216/0.1254, allocations: 89.73 kB / 445.5 MB, free: 7.477 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.976e-05/0.1255, allocations: 63.39 kB / 445.6 MB, free: 7.402 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.1257, allocations: 109.8 kB / 445.7 MB, free: 7.285 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.1257, allocations: 25.7 kB / 445.7 MB, free: 7.254 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.151e-05/0.1258, allocations: 88.12 kB / 445.8 MB, free: 7.164 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.856e-05/0.1258, allocations: 4 kB / 445.8 MB, free: 7.16 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.51e-06/0.1258, allocations: 0 / 445.8 MB, free: 7.16 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.309e-05/0.1259, allocations: 314.8 kB / 446.1 MB, free: 6.844 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.547e-05/0.126, allocations: 7.984 kB / 446.1 MB, free: 6.836 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.789e-05/0.1261, allocations: 45.16 kB / 446.2 MB, free: 6.773 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.224e-05/0.1261, allocations: 12 kB / 446.2 MB, free: 6.762 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.1262, allocations: 7.875 kB / 446.2 MB, free: 6.754 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002182/0.1264, allocations: 81.61 kB / 446.3 MB, free: 6.668 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.773e-05/0.1265, allocations: 11.98 kB / 446.3 MB, free: 6.656 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.1265, allocations: 0 / 446.3 MB, free: 6.656 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.354e-05/0.1265, allocations: 4 kB / 446.3 MB, free: 6.652 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.1266, allocations: 4.25 kB / 446.3 MB, free: 6.648 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.229e-05/0.1267, allocations: 4 kB / 446.3 MB, free: 6.645 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.731e-05/0.1268, allocations: 7.906 kB / 446.3 MB, free: 6.637 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.258e-05/0.1268, allocations: 7.938 kB / 446.3 MB, free: 6.629 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (assignClock1.y,assignClock1.u,pulse.y) * Number of discrete states: 0 () * Number of clocked states: 1 (pulse.next) * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001224/0.127, allocations: 117.7 kB / 446.4 MB, free: 6.504 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003389/0.1273, allocations: 81.56 kB / 446.5 MB, free: 6.418 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.481e-05/0.1274, allocations: 12.38 kB / 446.5 MB, free: 6.402 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/0.1274, allocations: 0 / 446.5 MB, free: 6.402 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.944e-06/0.1274, allocations: 0 / 446.5 MB, free: 6.402 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.1275, allocations: 0 / 446.5 MB, free: 6.402 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001316/0.1276, allocations: 161.6 kB / 446.7 MB, free: 6.195 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.1276, allocations: 0 / 446.7 MB, free: 6.195 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001256/0.1278, allocations: 8 kB / 446.7 MB, free: 6.188 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.947e-06/0.1278, allocations: 3.953 kB / 446.7 MB, free: 6.184 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.596e-05/0.1278, allocations: 4 kB / 446.7 MB, free: 6.18 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.1279, allocations: 0 / 446.7 MB, free: 6.18 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.1279, allocations: 4 kB / 446.7 MB, free: 6.176 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003591/0.1283, allocations: 101 kB / 446.8 MB, free: 6.059 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.362e-05/0.1283, allocations: 85.05 kB / 446.9 MB, free: 5.957 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.817e-05/0.1284, allocations: 7.938 kB / 446.9 MB, free: 5.949 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002072/0.1286, allocations: 19.98 kB / 446.9 MB, free: 5.93 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.771e-06/0.1286, allocations: 0 / 446.9 MB, free: 5.93 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/0.1287, allocations: 0 / 446.9 MB, free: 5.93 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.781e-05/0.1287, allocations: 87.75 kB / 447 MB, free: 5.844 MB / 282.7 MB Notification: Performance of sort global known variables: time 9.42e-07/0.1288, allocations: 0 / 447 MB, free: 5.844 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000442/0.1292, allocations: 12 kB / 447 MB, free: 5.832 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (pulse.y,assignClock1.u,assignClock1.y) * Number of discrete states: 0 () * Number of clocked states: 1 (pulse.next) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008849/0.1301, allocations: 0.6593 MB / 447.7 MB, free: 5.141 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002966/0.1305, allocations: 39.92 kB / 447.7 MB, free: 5.102 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/0.1305, allocations: 0 / 447.7 MB, free: 5.102 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.014e-06/0.1305, allocations: 3.938 kB / 447.7 MB, free: 5.098 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005963/0.1311, allocations: 60.09 kB / 447.8 MB, free: 5.043 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001295/0.1325, allocations: 1.177 MB / 448.9 MB, free: 3.801 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001756/0.1327, allocations: 0.6927 MB / 449.6 MB, free: 3.082 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.417e-05/0.1328, allocations: 4.172 kB / 449.6 MB, free: 3.078 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.548e-05/0.1329, allocations: 11.44 kB / 449.7 MB, free: 3.07 MB / 282.7 MB Notification: Performance of SimCode: time 1.924e-06/0.1329, allocations: 0 / 449.7 MB, free: 3.07 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02394/0.1568, allocations: 1.425 MB / 451.1 MB, free: 1.656 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002411/0.1571, allocations: 219.9 kB / 451.3 MB, free: 1.406 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.42/2.577, allocations: 7.938 kB / 451.3 MB, free: 1.398 MB / 282.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_TimeBasedPulse_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_TimeBasedPulse.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse_res.mat does not exist to compare? outputFormat=mat