Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator.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/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/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(ModelicaTest.Blocks.LimResetIntegrator,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_LimResetIntegrator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.LimResetIntegrator,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_LimResetIntegrator",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.001495/0.001495, allocations: 183.7 kB / 13.19 MB, free: 2.129 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.675/1.675, allocations: 205.2 MB / 218.9 MB, free: 9.211 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.0009339/0.000934, allocations: 91.66 kB / 267.1 MB, free: 9.289 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3984/0.3984, allocations: 43.47 MB / 358.6 MB, free: 51.61 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.477e-05/3.488e-05, allocations: 4 kB / 425.4 MB, free: 8.145 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.1429, allocations: 58.84 MB / 484.2 MB, free: 13.19 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4176/0.5607, allocations: 86.36 MB / 0.5572 GB, free: 17.31 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001715/0.5609, allocations: 65.05 kB / 0.5573 GB, free: 17.29 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008201/0.5691, allocations: 2.9 MB / 0.5601 GB, free: 15.51 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.5692, allocations: 0 / 0.5601 GB, free: 15.51 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.455e-05/0.5692, allocations: 4 kB / 0.5601 GB, free: 15.51 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000561/0.5698, allocations: 427.4 kB / 0.5605 GB, free: 15.08 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.5698, allocations: 8.031 kB / 0.5605 GB, free: 15.07 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.492e-05/0.5699, allocations: 43.73 kB / 0.5606 GB, free: 15.03 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.433e-05/0.5699, allocations: 12.03 kB / 0.5606 GB, free: 15.02 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002563/0.5702, allocations: 213.4 kB / 0.5608 GB, free: 14.79 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.5702, allocations: 7.875 kB / 0.5608 GB, free: 14.79 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.306e-05/0.5702, allocations: 7.188 kB / 0.5608 GB, free: 14.79 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000145/0.5704, allocations: 83.33 kB / 0.5609 GB, free: 14.72 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.5704, allocations: 0 / 0.5609 GB, free: 14.72 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.617e-05/0.5704, allocations: 9.344 kB / 0.5609 GB, free: 14.71 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.279e-06/0.5704, allocations: 1.375 kB / 0.5609 GB, free: 14.71 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.184e-05/0.5705, allocations: 35.5 kB / 0.5609 GB, free: 14.69 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005268/0.571, allocations: 381.3 kB / 0.5613 GB, free: 14.35 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.638e-05/0.5711, allocations: 49.09 kB / 0.5613 GB, free: 14.3 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.238e-05/0.5712, allocations: 22.83 kB / 0.5614 GB, free: 14.29 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.411e-05/0.5712, allocations: 0 / 0.5614 GB, free: 14.29 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001213/0.5713, allocations: 80.48 kB / 0.5614 GB, free: 14.21 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.5713, allocations: 4 kB / 0.5614 GB, free: 14.21 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001678/0.5715, allocations: 75.56 kB / 0.5615 GB, free: 14.14 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.362e-05/0.5716, allocations: 56.86 kB / 0.5616 GB, free: 14.07 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.447e-05/0.5717, allocations: 130.2 kB / 0.5617 GB, free: 13.95 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.383e-05/0.5717, allocations: 27.77 kB / 0.5617 GB, free: 13.92 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.491e-05/0.5717, allocations: 101.4 kB / 0.5618 GB, free: 13.83 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.197e-05/0.5717, allocations: 20.34 kB / 0.5618 GB, free: 13.82 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.969e-06/0.5718, allocations: 3.375 kB / 0.5618 GB, free: 13.82 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.412e-05/0.5718, allocations: 322.3 kB / 0.5621 GB, free: 13.5 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.567e-05/0.5719, allocations: 21.69 kB / 0.5622 GB, free: 13.48 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.325e-05/0.5719, allocations: 36.72 kB / 0.5622 GB, free: 13.45 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.22e-05/0.5719, allocations: 13.91 kB / 0.5622 GB, free: 13.45 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.5719, allocations: 0 / 0.5622 GB, free: 13.45 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001084/0.5721, allocations: 89.22 kB / 0.5623 GB, free: 13.37 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.5721, allocations: 7.953 kB / 0.5623 GB, free: 13.36 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.5721, allocations: 0.8438 kB / 0.5623 GB, free: 13.36 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.5721, allocations: 4.031 kB / 0.5623 GB, free: 13.36 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.5722, allocations: 23.45 kB / 0.5623 GB, free: 13.34 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.5722, allocations: 3.938 kB / 0.5623 GB, free: 13.34 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.418e-05/0.5723, allocations: 21.84 kB / 0.5624 GB, free: 13.32 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.5723, allocations: 4 kB / 0.5624 GB, free: 13.32 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,$PRE.change.u,change.u,change.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 4.755e-05/0.5724, allocations: 113.1 kB / 0.5625 GB, free: 13.2 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.441e-05/0.5724, allocations: 7.906 kB / 0.5625 GB, free: 13.2 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.667e-05/0.5725, allocations: 21.42 kB / 0.5625 GB, free: 13.18 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.542e-06/0.5725, allocations: 0 / 0.5625 GB, free: 13.18 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.5725, allocations: 1.172 kB / 0.5625 GB, free: 13.18 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.5725, allocations: 0 / 0.5625 GB, free: 13.18 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002633/0.5728, allocations: 359.9 kB / 0.5628 GB, free: 12.84 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.5728, allocations: 0 / 0.5628 GB, free: 12.84 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.009e-05/0.5729, allocations: 23.8 kB / 0.5629 GB, free: 12.82 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.5729, allocations: 4 kB / 0.5629 GB, free: 12.81 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.5729, allocations: 1.266 kB / 0.5629 GB, free: 12.81 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.5729, allocations: 0 / 0.5629 GB, free: 12.81 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.5729, allocations: 0 / 0.5629 GB, free: 12.81 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001783/0.5731, allocations: 202 kB / 0.5631 GB, free: 12.63 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.006e-05/0.5731, allocations: 86.03 kB / 0.5631 GB, free: 12.53 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.981e-05/0.5732, allocations: 8.016 kB / 0.5632 GB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001423/0.5733, allocations: 21.62 kB / 0.5632 GB, free: 12.5 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.443e-05/0.5734, allocations: 18.34 kB / 0.5632 GB, free: 12.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.584e-06/0.5734, allocations: 1.359 kB / 0.5632 GB, free: 12.5 MB / 394.7 MB Notification: Performance of sorting global known variables: time 5.085e-05/0.5734, allocations: 112.1 kB / 0.5633 GB, free: 12.4 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5734, allocations: 0 / 0.5633 GB, free: 12.4 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002102/0.5737, allocations: 23.12 kB / 0.5633 GB, free: 12.38 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (integrator.y) * Number of discrete variables: 5 (change.y,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,change.u) * Number of discrete states: 1 (change.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0003356/0.574, allocations: 0.7277 MB / 0.564 GB, free: 11.66 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001187/0.5741, allocations: 50.84 kB / 0.5641 GB, free: 11.62 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.5741, allocations: 0 / 0.5641 GB, free: 11.62 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.987e-05/0.5742, allocations: 26.62 kB / 0.5641 GB, free: 11.61 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002174/0.5744, allocations: 29.53 kB / 0.5641 GB, free: 11.59 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004325/0.5749, allocations: 177.6 kB / 0.5643 GB, free: 11.41 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001172/0.575, allocations: 0.7102 MB / 0.565 GB, free: 10.69 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.403e-05/0.575, allocations: 12.95 kB / 0.565 GB, free: 10.68 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.957e-05/0.5751, allocations: 34.22 kB / 0.565 GB, free: 10.66 MB / 394.7 MB Notification: Performance of SimCode: time 3.1e-07/0.5751, allocations: 0 / 0.565 GB, free: 10.66 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01223/0.5873, allocations: 2.188 MB / 0.5672 GB, free: 9.359 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001345/0.5875, allocations: 159.3 kB / 0.5673 GB, free: 9.125 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.656/2.244, allocations: 0 / 0.5673 GB, free: 9.125 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Blocks_LimResetIntegrator_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Blocks_LimResetIntegrator.fmu > ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator_res.mat does not exist to compare? outputFormat=mat