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.001928/0.001928, allocations: 177.8 kB / 8.004 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.709/1.709, allocations: 205.3 MB / 213.7 MB, free: 1.727 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009026/0.0009026, allocations: 94.62 kB / 261.8 MB, free: 1.668 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.2311/0.2311, allocations: 43.49 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.809e-05/1.81e-05, allocations: 4 kB / 418.3 MB, free: 28.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1152, allocations: 58.86 MB / 477.2 MB, free: 1.535 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.461/0.5762, allocations: 85.69 MB / 0.5497 GB, free: 8.609 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001923/0.5764, allocations: 64.75 kB / 0.5498 GB, free: 8.586 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007559/0.584, allocations: 2.893 MB / 0.5526 GB, free: 6.227 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.91e-07/0.584, allocations: 0 / 0.5526 GB, free: 6.227 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.886e-06/0.584, allocations: 0 / 0.5526 GB, free: 6.227 MB / 362.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.0005089/0.5846, allocations: 421.3 kB / 0.553 GB, free: 5.781 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.5846, allocations: 12.03 kB / 0.553 GB, free: 5.77 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.277e-05/0.5846, allocations: 7.906 kB / 0.553 GB, free: 5.762 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002297/0.5849, allocations: 219.2 kB / 0.5532 GB, free: 5.52 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/0.5849, allocations: 4 kB / 0.5532 GB, free: 5.516 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.737e-05/0.5849, allocations: 4 kB / 0.5532 GB, free: 5.512 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.7e-05/0.585, allocations: 29.88 kB / 0.5533 GB, free: 5.492 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001242/0.5852, allocations: 75.3 kB / 0.5533 GB, free: 5.426 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.111e-06/0.5852, allocations: 0 / 0.5533 GB, free: 5.426 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.5852, allocations: 0 / 0.5533 GB, free: 5.426 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.066e-06/0.5852, allocations: 0 / 0.5533 GB, free: 5.426 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000479/0.5857, allocations: 344.5 kB / 0.5537 GB, free: 5.078 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.503e-05/0.5858, allocations: 57.75 kB / 0.5537 GB, free: 5.027 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.593e-05/0.5858, allocations: 19.92 kB / 0.5537 GB, free: 5.008 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.144e-05/0.5858, allocations: 4 kB / 0.5537 GB, free: 5.004 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.607e-05/0.5859, allocations: 74.12 kB / 0.5538 GB, free: 4.934 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.5859, allocations: 0 / 0.5538 GB, free: 4.934 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001412/0.5861, allocations: 70.92 kB / 0.5539 GB, free: 4.867 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.925e-05/0.5861, allocations: 51.41 kB / 0.5539 GB, free: 4.805 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.077e-05/0.5862, allocations: 118 kB / 0.554 GB, free: 4.688 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.251e-05/0.5862, allocations: 32.95 kB / 0.5541 GB, free: 4.652 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.554e-05/0.5863, allocations: 106.1 kB / 0.5542 GB, free: 4.547 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.09e-05/0.5863, allocations: 18.83 kB / 0.5542 GB, free: 4.531 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.698e-06/0.5863, allocations: 0 / 0.5542 GB, free: 4.531 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.771e-05/0.5864, allocations: 321.2 kB / 0.5545 GB, free: 4.215 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.916e-05/0.5864, allocations: 19.38 kB / 0.5545 GB, free: 4.199 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.141e-05/0.5864, allocations: 32.78 kB / 0.5545 GB, free: 4.172 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.776e-05/0.5865, allocations: 15.75 kB / 0.5546 GB, free: 4.16 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.5865, allocations: 0 / 0.5546 GB, free: 4.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001449/0.5866, allocations: 76.09 kB / 0.5546 GB, free: 4.09 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.5867, allocations: 8 kB / 0.5546 GB, free: 4.082 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.5867, allocations: 3.984 kB / 0.5546 GB, free: 4.078 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.5867, allocations: 3.953 kB / 0.5546 GB, free: 4.074 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.5868, allocations: 16 kB / 0.5547 GB, free: 4.059 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.5868, allocations: 7.938 kB / 0.5547 GB, free: 4.051 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000118/0.587, allocations: 24 kB / 0.5547 GB, free: 4.027 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/0.587, allocations: 4 kB / 0.5547 GB, free: 4.023 MB / 362.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 5.652e-05/0.5871, allocations: 101 kB / 0.5548 GB, free: 3.918 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001112/0.5872, allocations: 76.56 kB / 0.5549 GB, free: 3.852 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.933e-05/0.5872, allocations: 11.86 kB / 0.5549 GB, free: 3.84 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.467e-05/0.5872, allocations: 8.562 kB / 0.5549 GB, free: 3.836 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.5873, allocations: 4 kB / 0.5549 GB, free: 3.832 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.5873, allocations: 7.984 kB / 0.5549 GB, free: 3.824 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.5873, allocations: 0 / 0.5549 GB, free: 3.824 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002447/0.5875, allocations: 323 kB / 0.5552 GB, free: 3.492 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.5875, allocations: 0 / 0.5552 GB, free: 3.492 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.613e-05/0.5876, allocations: 23.22 kB / 0.5552 GB, free: 3.473 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.564e-06/0.5876, allocations: 0 / 0.5552 GB, free: 3.473 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.5877, allocations: 3.938 kB / 0.5552 GB, free: 3.469 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.5877, allocations: 7.938 kB / 0.5552 GB, free: 3.461 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.5877, allocations: 240 / 0.5552 GB, free: 3.461 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001527/0.5878, allocations: 192 kB / 0.5554 GB, free: 3.277 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.599e-05/0.5879, allocations: 85.05 kB / 0.5555 GB, free: 3.176 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.5879, allocations: 7.938 kB / 0.5555 GB, free: 3.168 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001363/0.588, allocations: 24.05 kB / 0.5555 GB, free: 3.145 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.746e-05/0.5881, allocations: 19.59 kB / 0.5555 GB, free: 3.129 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-06/0.5881, allocations: 0 / 0.5555 GB, free: 3.129 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.572e-05/0.5881, allocations: 96.8 kB / 0.5556 GB, free: 3.043 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5881, allocations: 0 / 0.5556 GB, free: 3.043 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002131/0.5884, allocations: 27.83 kB / 0.5557 GB, free: 3.016 MB / 362.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.0003269/0.5887, allocations: 0.7202 MB / 0.5564 GB, free: 2.293 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.687e-05/0.5888, allocations: 45.98 kB / 0.5564 GB, free: 2.262 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.5888, allocations: 0 / 0.5564 GB, free: 2.262 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.441e-05/0.5889, allocations: 27.44 kB / 0.5564 GB, free: 2.242 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002112/0.5891, allocations: 19.62 kB / 0.5565 GB, free: 2.227 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003967/0.5895, allocations: 166.5 kB / 0.5566 GB, free: 2.035 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001538/0.5897, allocations: 0.7041 MB / 0.5573 GB, free: 1.305 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.005e-05/0.5897, allocations: 8.656 kB / 0.5573 GB, free: 1.297 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.605e-05/0.5897, allocations: 25.94 kB / 0.5573 GB, free: 1.285 MB / 362.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5898, allocations: 0 / 0.5573 GB, free: 1.285 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01783/0.6076, allocations: 1.716 MB / 0.559 GB, free: 15.59 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000194/0.6078, allocations: 135.4 kB / 0.5591 GB, free: 15.39 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.545/2.153, allocations: 0 / 0.5591 GB, free: 15.39 MB / 378.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