Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.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.TimeBasedStep,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_TimeBasedStep",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.001143/0.001143, allocations: 170.8 kB / 16.14 MB, free: 5.656 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.5/1.5, allocations: 205.4 MB / 222.3 MB, free: 9.02 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.0007522/0.0007523, allocations: 74.39 kB / 270.6 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09822/0.09822, allocations: 12.59 MB / 331.5 MB, free: 11.24 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004133/0.0004135, allocations: 11.98 kB / 392.8 MB, free: 65.77 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0932/0.09364, allocations: 50.38 MB / 443.1 MB, free: 15.34 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.001335/0.09502, allocations: 1.148 MB / 444.3 MB, free: 14.18 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002348/0.09529, allocations: 91.75 kB / 444.4 MB, free: 14.09 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.349e-05/0.09537, allocations: 3.938 kB / 444.4 MB, free: 14.08 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.648e-05/0.09539, allocations: 0 / 444.4 MB, free: 14.08 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.442e-05/0.09543, allocations: 0 / 444.4 MB, free: 14.08 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002528/0.09569, allocations: 23.91 kB / 444.4 MB, free: 14.06 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.552e-05/0.09578, allocations: 19.94 kB / 444.4 MB, free: 14.04 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.356e-05/0.09588, allocations: 15.92 kB / 444.4 MB, free: 14.02 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.04e-05/0.09591, allocations: 7.984 kB / 444.4 MB, free: 14.02 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.621e-05/0.09596, allocations: 7.938 kB / 444.5 MB, free: 14.01 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.967e-05/0.09598, allocations: 4 kB / 444.5 MB, free: 14 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.416e-06/0.096, allocations: 0 / 444.5 MB, free: 14 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.007e-05/0.09602, allocations: 11.92 kB / 444.5 MB, free: 13.99 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.785e-05/0.09606, allocations: 33.64 kB / 444.5 MB, free: 13.95 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 7.111e-05/0.09614, allocations: 32.12 kB / 444.5 MB, free: 13.92 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.09615, allocations: 0 / 444.5 MB, free: 13.92 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.09616, allocations: 0 / 444.5 MB, free: 13.92 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.95e-06/0.09617, allocations: 0 / 444.5 MB, free: 13.92 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003748/0.09655, allocations: 327.5 kB / 444.9 MB, free: 13.55 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.0966, allocations: 16.03 kB / 444.9 MB, free: 13.54 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.191e-05/0.09664, allocations: 30.75 kB / 444.9 MB, free: 13.5 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.43e-05/0.09667, allocations: 12.78 kB / 444.9 MB, free: 13.48 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000154/0.09683, allocations: 180.3 kB / 445.1 MB, free: 13.27 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.075e-05/0.09686, allocations: 384 / 445.1 MB, free: 13.27 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.179e-05/0.09688, allocations: 4.375 kB / 445.1 MB, free: 13.27 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002619/0.09715, allocations: 107.8 kB / 445.2 MB, free: 13.15 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.09717, allocations: 3.938 kB / 445.2 MB, free: 13.14 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.904e-06/0.09718, allocations: 0 / 445.2 MB, free: 13.14 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.09719, allocations: 7.984 kB / 445.2 MB, free: 13.14 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.021e-05/0.09726, allocations: 11.98 kB / 445.2 MB, free: 13.12 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000122/0.09739, allocations: 161.6 kB / 445.4 MB, free: 12.92 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001246/0.09752, allocations: 50.56 kB / 445.4 MB, free: 12.86 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.756e-05/0.09758, allocations: 24.92 kB / 445.5 MB, free: 12.83 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.391e-05/0.09761, allocations: 0 / 445.5 MB, free: 12.83 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.121e-05/0.09764, allocations: 38.5 kB / 445.5 MB, free: 12.79 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 9.01e-07/0.09764, allocations: 0 / 445.5 MB, free: 12.79 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001908/0.09784, allocations: 73.61 kB / 445.6 MB, free: 12.71 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.839e-05/0.09789, allocations: 55.41 kB / 445.6 MB, free: 12.64 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.903e-05/0.09795, allocations: 101.8 kB / 445.7 MB, free: 12.53 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.163e-06/0.09797, allocations: 25.7 kB / 445.7 MB, free: 12.5 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.111e-05/0.098, allocations: 84.14 kB / 445.8 MB, free: 12.41 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.907e-06/0.09801, allocations: 4 kB / 445.8 MB, free: 12.41 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.345e-06/0.09802, allocations: 3.938 kB / 445.8 MB, free: 12.41 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.731e-05/0.09807, allocations: 310.8 kB / 446.1 MB, free: 12.09 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.699e-06/0.09809, allocations: 11.98 kB / 446.1 MB, free: 12.08 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.926e-05/0.09811, allocations: 31.38 kB / 446.2 MB, free: 12.04 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.062e-05/0.09815, allocations: 27.44 kB / 446.2 MB, free: 12 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.09816, allocations: 8 kB / 446.2 MB, free: 11.99 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.509e-05/0.09823, allocations: 53.56 kB / 446.3 MB, free: 11.93 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.09825, allocations: 12.88 kB / 446.3 MB, free: 11.92 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.09826, allocations: 0 / 446.3 MB, free: 11.92 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.09828, allocations: 0 / 446.3 MB, free: 11.92 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.756e-05/0.09832, allocations: 4 kB / 446.3 MB, free: 11.92 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.09833, allocations: 0 / 446.3 MB, free: 11.92 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.524e-05/0.09838, allocations: 7.906 kB / 446.3 MB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.998e-06/0.09839, allocations: 0 / 446.3 MB, free: 11.91 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 (assignClock1.y,assignClock1.u,step.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.788e-05/0.09846, allocations: 125.9 kB / 446.4 MB, free: 11.78 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.927e-05/0.09854, allocations: 53.62 kB / 446.5 MB, free: 11.72 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.445e-05/0.09858, allocations: 11.5 kB / 446.5 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.09858, allocations: 0 / 446.5 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.09859, allocations: 0 / 446.5 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-06/0.0986, allocations: 0 / 446.5 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.358e-05/0.09866, allocations: 153.7 kB / 446.6 MB, free: 11.5 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.09867, allocations: 3.938 kB / 446.6 MB, free: 11.5 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.999e-05/0.09869, allocations: 7.984 kB / 446.6 MB, free: 11.49 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.0987, allocations: 7.938 kB / 446.6 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.171e-06/0.09871, allocations: 0 / 446.6 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.09872, allocations: 0 / 446.6 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.09873, allocations: 0 / 446.6 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001019/0.09883, allocations: 85.38 kB / 446.7 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.664e-05/0.09887, allocations: 81.02 kB / 446.8 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.404e-05/0.09889, allocations: 3.938 kB / 446.8 MB, free: 11.28 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.243e-05/0.09892, allocations: 12.23 kB / 446.8 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.915e-06/0.09893, allocations: 0 / 446.8 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.598e-06/0.09894, allocations: 4 kB / 446.8 MB, free: 11.27 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.71e-05/0.09897, allocations: 83.28 kB / 446.9 MB, free: 11.18 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09898, allocations: 0 / 446.9 MB, free: 11.18 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001857/0.09917, allocations: 4 kB / 446.9 MB, free: 11.18 MB / 298.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 (step.y,assignClock1.u,assignClock1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002767/0.09945, allocations: 0.6201 MB / 447.5 MB, free: 10.53 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.164e-05/0.09955, allocations: 23.98 kB / 447.6 MB, free: 10.51 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.09956, allocations: 0 / 447.6 MB, free: 10.51 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.72e-07/0.09957, allocations: 0 / 447.6 MB, free: 10.51 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002177/0.09979, allocations: 27.94 kB / 447.6 MB, free: 10.48 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006513/0.1005, allocations: 1.146 MB / 448.7 MB, free: 9.23 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001042/0.1006, allocations: 0.6809 MB / 449.4 MB, free: 8.523 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.381e-05/0.1006, allocations: 4.25 kB / 449.4 MB, free: 8.52 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.876e-05/0.1006, allocations: 11.44 kB / 449.4 MB, free: 8.508 MB / 298.7 MB Notification: Performance of SimCode: time 2.3e-07/0.1006, allocations: 0 / 449.4 MB, free: 8.508 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01059/0.1112, allocations: 1.046 MB / 450.5 MB, free: 7.457 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001902/0.1115, allocations: 237.3 kB / 450.7 MB, free: 7.195 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.556/1.668, allocations: 0 / 450.7 MB, free: 7.195 MB / 298.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_TimeBasedStep_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_TimeBasedStep.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat does not exist to compare? outputFormat=mat