Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.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.IntegratorForceState,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_IntegratorForceState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.IntegratorForceState,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_IntegratorForceState",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.001563/0.001563, allocations: 183 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.773/1.773, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.0008492/0.0008492, allocations: 91.83 kB / 267.1 MB, free: 9.281 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.4291/0.4291, allocations: 43.47 MB / 358.6 MB, free: 51.62 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.571e-05/6.572e-05, allocations: 4 kB / 425.4 MB, free: 8.121 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1276, allocations: 58.84 MB / 484.2 MB, free: 13.17 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3943/0.5219, allocations: 84.97 MB / 0.5559 GB, free: 18.43 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001857/0.5222, allocations: 63.03 kB / 0.5559 GB, free: 18.41 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002429/0.5246, allocations: 1.038 MB / 0.5569 GB, free: 17.7 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.5246, allocations: 0 / 0.5569 GB, free: 17.7 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.258e-06/0.5246, allocations: 7.984 kB / 0.5569 GB, free: 17.7 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002696/0.5249, allocations: 339.4 kB / 0.5573 GB, free: 17.33 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.525, allocations: 8.031 kB / 0.5573 GB, free: 17.32 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.015e-05/0.525, allocations: 35.81 kB / 0.5573 GB, free: 17.29 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.581e-05/0.525, allocations: 13.06 kB / 0.5573 GB, free: 17.28 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001353/0.5252, allocations: 174.7 kB / 0.5575 GB, free: 17.07 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.833e-06/0.5252, allocations: 7.938 kB / 0.5575 GB, free: 17.07 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.792e-05/0.5252, allocations: 0 / 0.5575 GB, free: 17.07 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001106/0.5253, allocations: 65.2 kB / 0.5576 GB, free: 17 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.5254, allocations: 0 / 0.5576 GB, free: 17 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.155e-06/0.5254, allocations: 0 / 0.5576 GB, free: 17 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.5254, allocations: 5.375 kB / 0.5576 GB, free: 17 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.621e-05/0.5254, allocations: 15.56 kB / 0.5576 GB, free: 16.98 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003712/0.5258, allocations: 448.5 kB / 0.558 GB, free: 16.52 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001124/0.5259, allocations: 38.58 kB / 0.558 GB, free: 16.48 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.331e-05/0.526, allocations: 12.86 kB / 0.5581 GB, free: 16.47 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.905e-06/0.526, allocations: 4 kB / 0.5581 GB, free: 16.46 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.136e-05/0.526, allocations: 33.5 kB / 0.5581 GB, free: 16.43 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.282e-06/0.526, allocations: 0 / 0.5581 GB, free: 16.43 MB / 394.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003419/0.5263, allocations: 91.44 kB / 0.5582 GB, free: 16.35 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.566e-05/0.5264, allocations: 51.41 kB / 0.5582 GB, free: 16.29 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.475e-05/0.5265, allocations: 106.6 kB / 0.5583 GB, free: 16.18 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.154e-05/0.5265, allocations: 29.08 kB / 0.5584 GB, free: 16.14 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.281e-05/0.5265, allocations: 92.14 kB / 0.5584 GB, free: 16.06 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.348e-05/0.5265, allocations: 17.2 kB / 0.5585 GB, free: 16.04 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-06/0.5265, allocations: 6.484 kB / 0.5585 GB, free: 16.04 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.498e-05/0.5266, allocations: 313.4 kB / 0.5588 GB, free: 15.73 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.029e-05/0.5266, allocations: 11.38 kB / 0.5588 GB, free: 15.72 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.946e-05/0.5267, allocations: 34.25 kB / 0.5588 GB, free: 15.68 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.215e-05/0.5267, allocations: 21.31 kB / 0.5588 GB, free: 15.67 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.5267, allocations: 0 / 0.5588 GB, free: 15.67 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.475e-05/0.5268, allocations: 73.47 kB / 0.5589 GB, free: 15.6 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.5268, allocations: 6.781 kB / 0.5589 GB, free: 15.6 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.5268, allocations: 4.875 kB / 0.5589 GB, free: 15.59 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.5269, allocations: 48 / 0.5589 GB, free: 15.59 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.866e-05/0.5269, allocations: 20.55 kB / 0.5589 GB, free: 15.58 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.527, allocations: 8.047 kB / 0.5589 GB, free: 15.57 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.786e-05/0.527, allocations: 5.312 kB / 0.5589 GB, free: 15.57 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.527, allocations: 0 / 0.5589 GB, free: 15.57 MB / 394.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: 1 (integrator.local_reset) * Number of discrete states: 0 () * 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 5.347e-05/0.5271, allocations: 113.4 kB / 0.5591 GB, free: 15.45 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.563e-05/0.5271, allocations: 9.219 kB / 0.5591 GB, free: 15.45 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.806e-05/0.5271, allocations: 7.281 kB / 0.5591 GB, free: 15.44 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.197e-06/0.5272, allocations: 5.078 kB / 0.5591 GB, free: 15.44 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.5272, allocations: 0 / 0.5591 GB, free: 15.44 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.5272, allocations: 3.953 kB / 0.5591 GB, free: 15.44 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001431/0.5273, allocations: 171.4 kB / 0.5592 GB, free: 15.23 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.5273, allocations: 0 / 0.5592 GB, free: 15.23 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.704e-05/0.5274, allocations: 10.62 kB / 0.5593 GB, free: 15.23 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.5274, allocations: 0 / 0.5593 GB, free: 15.23 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.829e-06/0.5274, allocations: 3.312 kB / 0.5593 GB, free: 15.23 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.5274, allocations: 1.125 kB / 0.5593 GB, free: 15.23 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.5275, allocations: 4 kB / 0.5593 GB, free: 15.22 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001484/0.5276, allocations: 167 kB / 0.5594 GB, free: 15.06 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.483e-05/0.5276, allocations: 83.89 kB / 0.5595 GB, free: 14.96 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.347e-05/0.5277, allocations: 4.469 kB / 0.5595 GB, free: 14.96 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.009e-05/0.5277, allocations: 4 kB / 0.5595 GB, free: 14.96 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.094e-05/0.5278, allocations: 1.406 kB / 0.5595 GB, free: 14.96 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.5278, allocations: 1.406 kB / 0.5595 GB, free: 14.96 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.217e-05/0.5278, allocations: 93.45 kB / 0.5596 GB, free: 14.87 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5278, allocations: 0 / 0.5596 GB, free: 14.87 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002432/0.5281, allocations: 7 kB / 0.5596 GB, free: 14.87 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (gain.y) * Number of discrete variables: 0 () * Number of discrete 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 (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.0003046/0.5284, allocations: 0.6964 MB / 0.5603 GB, free: 14.16 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.17e-05/0.5285, allocations: 30.12 kB / 0.5603 GB, free: 14.14 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.5285, allocations: 0 / 0.5603 GB, free: 14.14 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.365e-05/0.5285, allocations: 13.25 kB / 0.5603 GB, free: 14.13 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002073/0.5287, allocations: 8.797 kB / 0.5603 GB, free: 14.12 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004645/0.5292, allocations: 146.1 kB / 0.5605 GB, free: 13.98 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001299/0.5294, allocations: 0.6833 MB / 0.5611 GB, free: 13.27 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.327e-05/0.5294, allocations: 6.719 kB / 0.5612 GB, free: 13.27 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.606e-05/0.5294, allocations: 14.38 kB / 0.5612 GB, free: 13.26 MB / 394.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5294, allocations: 0.7656 kB / 0.5612 GB, free: 13.26 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0126/0.5421, allocations: 1.321 MB / 0.5625 GB, free: 12.46 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001902/0.5423, allocations: 150.4 kB / 0.5626 GB, free: 12.23 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.486/2.028, allocations: 0 / 0.5626 GB, free: 12.23 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Blocks_IntegratorForceState_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Blocks_IntegratorForceState.fmu > ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState_res.mat does not exist to compare? outputFormat=mat