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.001771/0.001772, allocations: 176.3 kB / 15.82 MB, free: 6.305 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.589/1.589, allocations: 205.4 MB / 222 MB, free: 13.84 MB / 186.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008598/0.0008599, allocations: 94.23 kB / 270.3 MB, free: 13.37 MB / 234.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06935/0.06935, allocations: 12.59 MB / 331.1 MB, free: 10.31 MB / 234.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0005935/0.0005935, allocations: 13.53 kB / 392.1 MB, free: 54.8 MB / 282.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1067, allocations: 50.38 MB / 442.5 MB, free: 10.86 MB / 282.8 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.00147/0.1082, allocations: 1.184 MB / 443.7 MB, free: 9.66 MB / 282.8 MB Notification: Performance of NFInst.instExpressions: time 0.000647/0.1089, allocations: 476.4 kB / 444.2 MB, free: 9.188 MB / 282.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.63e-05/0.109, allocations: 0 / 444.2 MB, free: 9.188 MB / 282.8 MB Notification: Performance of NFTyping.typeComponents: time 1.672e-05/0.109, allocations: 3.984 kB / 444.2 MB, free: 9.184 MB / 282.8 MB Notification: Performance of NFTyping.typeBindings: time 0.000153/0.1092, allocations: 15.92 kB / 444.2 MB, free: 9.168 MB / 282.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000176/0.1094, allocations: 27.91 kB / 444.2 MB, free: 9.141 MB / 282.8 MB Notification: Performance of NFFlatten.flatten: time 8.757e-05/0.1095, allocations: 47.84 kB / 444.2 MB, free: 9.094 MB / 282.8 MB Notification: Performance of NFFlatten.resolveConnections: time 9.458e-05/0.1096, allocations: 4.562 kB / 444.2 MB, free: 9.09 MB / 282.8 MB Notification: Performance of NFEvalConstants.evaluate: time 6.915e-05/0.1096, allocations: 19.92 kB / 444.3 MB, free: 9.07 MB / 282.8 MB Notification: Performance of NFSimplifyModel.simplify: time 4.75e-05/0.1097, allocations: 23.91 kB / 444.3 MB, free: 9.047 MB / 282.8 MB Notification: Performance of NFPackage.collectConstants: time 2.001e-05/0.1097, allocations: 0 / 444.3 MB, free: 9.047 MB / 282.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.303e-05/0.1097, allocations: 4 kB / 444.3 MB, free: 9.043 MB / 282.8 MB Notification: Performance of NFScalarize.scalarize: time 1.501e-05/0.1098, allocations: 7.938 kB / 444.3 MB, free: 9.035 MB / 282.8 MB Notification: Performance of NFVerifyModel.verify: time 2.537e-05/0.1098, allocations: 33.69 kB / 444.3 MB, free: 8.996 MB / 282.8 MB Notification: Performance of NFConvertDAE.convert: time 7.054e-05/0.1099, allocations: 32.17 kB / 444.4 MB, free: 8.965 MB / 282.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.1099, allocations: 0 / 444.4 MB, free: 8.965 MB / 282.8 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1099, allocations: 0 / 444.4 MB, free: 8.965 MB / 282.8 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.1099, allocations: 3.938 kB / 444.4 MB, free: 8.961 MB / 282.8 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.0004907/0.1104, allocations: 367.2 kB / 444.7 MB, free: 8.555 MB / 282.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.1104, allocations: 8.031 kB / 444.7 MB, free: 8.547 MB / 282.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.308e-05/0.1105, allocations: 38.5 kB / 444.8 MB, free: 8.5 MB / 282.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.858e-05/0.1105, allocations: 7.906 kB / 444.8 MB, free: 8.492 MB / 282.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001516/0.1107, allocations: 183 kB / 445 MB, free: 8.273 MB / 282.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.1107, allocations: 4 kB / 445 MB, free: 8.27 MB / 282.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.437e-05/0.1107, allocations: 7.938 kB / 445 MB, free: 8.262 MB / 282.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003324/0.111, allocations: 155.1 kB / 445.1 MB, free: 8.098 MB / 282.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.1111, allocations: 0 / 445.1 MB, free: 8.098 MB / 282.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.1111, allocations: 0 / 445.1 MB, free: 8.098 MB / 282.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.952e-06/0.1111, allocations: 0 / 445.1 MB, free: 8.098 MB / 282.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001061/0.1112, allocations: 35.92 kB / 445.2 MB, free: 8.062 MB / 282.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001324/0.1113, allocations: 165.6 kB / 445.3 MB, free: 7.852 MB / 282.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001895/0.1115, allocations: 135.7 kB / 445.5 MB, free: 7.691 MB / 282.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.866e-05/0.1116, allocations: 32.84 kB / 445.5 MB, free: 7.656 MB / 282.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.498e-05/0.1117, allocations: 0 / 445.5 MB, free: 7.656 MB / 282.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.897e-05/0.1117, allocations: 42.56 kB / 445.5 MB, free: 7.605 MB / 282.8 MB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.1117, allocations: 0 / 445.5 MB, free: 7.605 MB / 282.8 MB Notification: Performance of matching and sorting (n=6): time 0.0002581/0.112, allocations: 85.61 kB / 445.6 MB, free: 7.516 MB / 282.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.139e-05/0.112, allocations: 59.41 kB / 445.7 MB, free: 7.445 MB / 282.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.229e-05/0.1121, allocations: 109.8 kB / 445.8 MB, free: 7.328 MB / 282.8 MB Notification: Performance of collectPreVariables (initialization): time 1.025e-05/0.1121, allocations: 29.7 kB / 445.8 MB, free: 7.293 MB / 282.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.565e-05/0.1121, allocations: 92.12 kB / 445.9 MB, free: 7.199 MB / 282.8 MB Notification: Performance of collectInitialBindings (initialization): time 1.157e-05/0.1121, allocations: 4 kB / 445.9 MB, free: 7.195 MB / 282.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.645e-06/0.1122, allocations: 0 / 445.9 MB, free: 7.195 MB / 282.8 MB Notification: Performance of setup shared object (initialization): time 5.517e-05/0.1122, allocations: 310.8 kB / 446.2 MB, free: 6.883 MB / 282.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.52e-05/0.1122, allocations: 11.98 kB / 446.2 MB, free: 6.871 MB / 282.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.691e-05/0.1123, allocations: 41.16 kB / 446.3 MB, free: 6.812 MB / 282.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.08e-05/0.1123, allocations: 23.88 kB / 446.3 MB, free: 6.789 MB / 282.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1123, allocations: 0 / 446.3 MB, free: 6.789 MB / 282.8 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.246e-05/0.1124, allocations: 77.52 kB / 446.4 MB, free: 6.707 MB / 282.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.1124, allocations: 4 kB / 446.4 MB, free: 6.703 MB / 282.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.1124, allocations: 4.172 kB / 446.4 MB, free: 6.699 MB / 282.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.1125, allocations: 8 kB / 446.4 MB, free: 6.691 MB / 282.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.117e-05/0.1125, allocations: 8 kB / 446.4 MB, free: 6.684 MB / 282.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.291e-06/0.1125, allocations: 0 / 446.4 MB, free: 6.684 MB / 282.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.508e-05/0.1126, allocations: 11.84 kB / 446.4 MB, free: 6.672 MB / 282.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.679e-06/0.1126, allocations: 0 / 446.4 MB, free: 6.672 MB / 282.8 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 6.935e-05/0.1127, allocations: 121.6 kB / 446.5 MB, free: 6.543 MB / 282.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001238/0.1128, allocations: 81.56 kB / 446.6 MB, free: 6.457 MB / 282.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.216e-05/0.1128, allocations: 12.38 kB / 446.6 MB, free: 6.441 MB / 282.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1128, allocations: 0 / 446.6 MB, free: 6.441 MB / 282.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.1128, allocations: 0 / 446.6 MB, free: 6.441 MB / 282.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.1129, allocations: 0 / 446.6 MB, free: 6.441 MB / 282.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.809e-05/0.1129, allocations: 165.6 kB / 446.8 MB, free: 6.23 MB / 282.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.1129, allocations: 0 / 446.8 MB, free: 6.23 MB / 282.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.808e-05/0.113, allocations: 8 kB / 446.8 MB, free: 6.223 MB / 282.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.113, allocations: 3.953 kB / 446.8 MB, free: 6.219 MB / 282.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.113, allocations: 4 kB / 446.8 MB, free: 6.215 MB / 282.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.113, allocations: 3.938 kB / 446.8 MB, free: 6.211 MB / 282.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.113, allocations: 0 / 446.8 MB, free: 6.211 MB / 282.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00014/0.1132, allocations: 101.4 kB / 446.9 MB, free: 6.094 MB / 282.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.273e-05/0.1132, allocations: 81.11 kB / 447 MB, free: 5.996 MB / 282.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.84e-05/0.1132, allocations: 3.953 kB / 447 MB, free: 5.992 MB / 282.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.316e-05/0.1133, allocations: 19.98 kB / 447 MB, free: 5.973 MB / 282.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.028e-06/0.1133, allocations: 3.984 kB / 447 MB, free: 5.969 MB / 282.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.79e-06/0.1133, allocations: 4 kB / 447 MB, free: 5.965 MB / 282.8 MB Notification: Performance of sorting global known variables: time 3.487e-05/0.1134, allocations: 91.73 kB / 447.1 MB, free: 5.875 MB / 282.8 MB Notification: Performance of sort global known variables: time 2.81e-07/0.1134, allocations: 0 / 447.1 MB, free: 5.875 MB / 282.8 MB Notification: Performance of remove unused functions: time 0.0001997/0.1136, allocations: 8 kB / 447.1 MB, free: 5.867 MB / 282.8 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.0004008/0.114, allocations: 0.6592 MB / 447.7 MB, free: 5.176 MB / 282.8 MB Notification: Performance of simCode: created initialization part: time 0.0001168/0.1141, allocations: 39.92 kB / 447.8 MB, free: 5.137 MB / 282.8 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1141, allocations: 0 / 447.8 MB, free: 5.137 MB / 282.8 MB Notification: Performance of simCode: created simulation system equations: time 4.51e-07/0.1141, allocations: 0 / 447.8 MB, free: 5.137 MB / 282.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003436/0.1145, allocations: 47.72 kB / 447.8 MB, free: 5.094 MB / 282.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000511/0.115, allocations: 465.4 kB / 448.3 MB, free: 4.582 MB / 282.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001123/0.1151, allocations: 0.6888 MB / 449 MB, free: 3.867 MB / 282.8 MB Notification: Performance of simCode: alias equations: time 2.278e-05/0.1152, allocations: 192 / 449 MB, free: 3.867 MB / 282.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.786e-05/0.1152, allocations: 19.42 kB / 449 MB, free: 3.852 MB / 282.8 MB Notification: Performance of SimCode: time 3.5e-07/0.1152, allocations: 0 / 449 MB, free: 3.852 MB / 282.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01068/0.1259, allocations: 1.44 MB / 450.4 MB, free: 2.422 MB / 282.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001286/0.1261, allocations: 226.3 kB / 450.7 MB, free: 2.172 MB / 282.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.462/1.588, allocations: 0 / 450.7 MB, free: 2.172 MB / 282.8 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