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.001343/0.001343, allocations: 177.6 kB / 8.005 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.722/1.722, allocations: 205.3 MB / 213.7 MB, free: 1.742 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.0009002/0.0009005, allocations: 82.64 kB / 261.7 MB, free: 1.691 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.2059/0.2059, allocations: 43.49 MB / 353.2 MB, free: 296 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.109e-05/2.161e-05, allocations: 0 / 418.3 MB, free: 28.47 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1335, allocations: 58.86 MB / 477.2 MB, free: 1.562 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4443/0.5779, allocations: 84.3 MB / 0.5484 GB, free: 8.855 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002356/0.5782, allocations: 59.73 kB / 0.5484 GB, free: 8.855 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002522/0.5807, allocations: 1.029 MB / 0.5494 GB, free: 8.508 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.604e-06/0.5807, allocations: 0 / 0.5494 GB, free: 8.508 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.024e-05/0.5808, allocations: 0 / 0.5494 GB, free: 8.508 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002865/0.5811, allocations: 349.6 kB / 0.5497 GB, free: 8.156 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.5811, allocations: 7.844 kB / 0.5498 GB, free: 8.156 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.515e-05/0.5811, allocations: 8.375 kB / 0.5498 GB, free: 8.152 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001702/0.5813, allocations: 178 kB / 0.5499 GB, free: 7.949 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.5813, allocations: 0 / 0.5499 GB, free: 7.949 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.408e-05/0.5814, allocations: 3.062 kB / 0.5499 GB, free: 7.949 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.081e-05/0.5814, allocations: 18.23 kB / 0.55 GB, free: 7.945 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001107/0.5816, allocations: 62.59 kB / 0.55 GB, free: 7.887 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.5816, allocations: 0 / 0.55 GB, free: 7.887 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.5816, allocations: 0 / 0.55 GB, free: 7.887 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.5816, allocations: 0 / 0.55 GB, free: 7.887 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003926/0.582, allocations: 424.6 kB / 0.5504 GB, free: 7.473 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001244/0.5821, allocations: 39.62 kB / 0.5505 GB, free: 7.449 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.243e-05/0.5822, allocations: 8.703 kB / 0.5505 GB, free: 7.441 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.253e-05/0.5822, allocations: 0 / 0.5505 GB, free: 7.441 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.629e-05/0.5822, allocations: 30.56 kB / 0.5505 GB, free: 7.402 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.5822, allocations: 0 / 0.5505 GB, free: 7.402 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002834/0.5825, allocations: 77.66 kB / 0.5506 GB, free: 7.359 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.778e-05/0.5825, allocations: 51.41 kB / 0.5506 GB, free: 7.297 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.886e-05/0.5826, allocations: 111.8 kB / 0.5507 GB, free: 7.199 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.15e-05/0.5826, allocations: 25.7 kB / 0.5507 GB, free: 7.168 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.734e-05/0.5827, allocations: 90.56 kB / 0.5508 GB, free: 7.082 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.839e-06/0.5827, allocations: 15.19 kB / 0.5508 GB, free: 7.074 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.176e-06/0.5827, allocations: 3.938 kB / 0.5509 GB, free: 7.07 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.336e-05/0.5828, allocations: 322 kB / 0.5512 GB, free: 6.754 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.02e-05/0.5828, allocations: 19.08 kB / 0.5512 GB, free: 6.75 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.565e-05/0.5828, allocations: 30.38 kB / 0.5512 GB, free: 6.719 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.519e-05/0.5829, allocations: 14.61 kB / 0.5512 GB, free: 6.715 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.5829, allocations: 3.875 kB / 0.5512 GB, free: 6.715 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.547e-05/0.583, allocations: 66.75 kB / 0.5513 GB, free: 6.676 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.583, allocations: 7.875 kB / 0.5513 GB, free: 6.672 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.583, allocations: 0 / 0.5513 GB, free: 6.672 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.583, allocations: 3.656 kB / 0.5513 GB, free: 6.672 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.457e-05/0.5831, allocations: 14.83 kB / 0.5513 GB, free: 6.672 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.5831, allocations: 0 / 0.5513 GB, free: 6.672 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.113e-05/0.5831, allocations: 4.688 kB / 0.5513 GB, free: 6.672 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.5832, allocations: 0 / 0.5513 GB, free: 6.672 MB / 362.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 4.945e-05/0.5832, allocations: 112.6 kB / 0.5514 GB, free: 6.559 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.336e-05/0.5833, allocations: 58.34 kB / 0.5515 GB, free: 6.523 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.245e-05/0.5833, allocations: 4 kB / 0.5515 GB, free: 6.52 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.977e-05/0.5834, allocations: 8.562 kB / 0.5515 GB, free: 6.512 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.5834, allocations: 0 / 0.5515 GB, free: 6.512 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.5834, allocations: 0 / 0.5515 GB, free: 6.512 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.5834, allocations: 11.94 kB / 0.5515 GB, free: 6.5 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001137/0.5835, allocations: 143.5 kB / 0.5516 GB, free: 6.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.5835, allocations: 0 / 0.5516 GB, free: 6.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.466e-05/0.5836, allocations: 14.58 kB / 0.5517 GB, free: 6.328 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.5836, allocations: 0 / 0.5517 GB, free: 6.328 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.5836, allocations: 0 / 0.5517 GB, free: 6.328 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.5836, allocations: 6.672 kB / 0.5517 GB, free: 6.324 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.5836, allocations: 0 / 0.5517 GB, free: 6.324 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001332/0.5838, allocations: 168.9 kB / 0.5518 GB, free: 6.16 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.212e-05/0.5838, allocations: 79.92 kB / 0.5519 GB, free: 6.066 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.359e-05/0.5838, allocations: 3.938 kB / 0.5519 GB, free: 6.062 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.591e-05/0.5839, allocations: 4 kB / 0.5519 GB, free: 6.059 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.301e-05/0.5839, allocations: 2.766 kB / 0.5519 GB, free: 6.059 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-06/0.5839, allocations: 4.062 kB / 0.5519 GB, free: 6.055 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.767e-05/0.584, allocations: 90.78 kB / 0.552 GB, free: 5.969 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.584, allocations: 0 / 0.552 GB, free: 5.969 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002249/0.5842, allocations: 8 kB / 0.552 GB, free: 5.961 MB / 362.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.0003222/0.5845, allocations: 0.695 MB / 0.5527 GB, free: 5.262 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.252e-05/0.5846, allocations: 27.06 kB / 0.5527 GB, free: 5.242 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.5846, allocations: 0 / 0.5527 GB, free: 5.242 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.138e-05/0.5847, allocations: 11.94 kB / 0.5527 GB, free: 5.23 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002233/0.5849, allocations: 10.66 kB / 0.5527 GB, free: 5.227 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004559/0.5854, allocations: 126.6 kB / 0.5529 GB, free: 5.082 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001621/0.5855, allocations: 0.6884 MB / 0.5535 GB, free: 4.375 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.552e-05/0.5856, allocations: 10.67 kB / 0.5535 GB, free: 4.367 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.328e-05/0.5856, allocations: 13.88 kB / 0.5535 GB, free: 4.359 MB / 362.7 MB Notification: Performance of SimCode: time 2.31e-07/0.5856, allocations: 4 kB / 0.5536 GB, free: 4.355 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01945/0.6051, allocations: 0.9976 MB / 0.5545 GB, free: 3.375 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001901/0.6053, allocations: 135.5 kB / 0.5547 GB, free: 3.18 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.614/2.219, allocations: 0 / 0.5547 GB, free: 3.18 MB / 362.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