Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest_Blocks_IntegratorForceState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.IntegratorForceState,fileNamePrefix="ModelicaTest_3_2_3_cpp_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.001521/0.001521, allocations: 182.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.233/2.233, allocations: 205.2 MB / 219.4 MB, free: 14.29 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.001109/0.001108, allocations: 94.58 kB / 267.5 MB, free: 14.12 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2861/0.2861, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.338e-05/3.347e-05, allocations: 4 kB / 425.4 MB, free: 23.3 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1178, allocations: 58.85 MB / 484.2 MB, free: 12.39 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.495/0.6128, allocations: 84.98 MB / 0.5559 GB, free: 2.555 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000218/0.6131, allocations: 64.44 kB / 0.5559 GB, free: 2.523 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00352/0.6166, allocations: 1.028 MB / 0.5569 GB, free: 1.621 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.6167, allocations: 3.938 kB / 0.5569 GB, free: 1.617 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.025e-05/0.6167, allocations: 0 / 0.5569 GB, free: 1.617 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.0003236/0.617, allocations: 341.7 kB / 0.5573 GB, free: 1.242 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.6171, allocations: 12.03 kB / 0.5573 GB, free: 1.23 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.264e-05/0.6171, allocations: 33.94 kB / 0.5573 GB, free: 1.191 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.963e-05/0.6172, allocations: 8.531 kB / 0.5573 GB, free: 1.184 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001546/0.6173, allocations: 174.4 kB / 0.5575 GB, free: 0.9766 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.602e-06/0.6173, allocations: 0 / 0.5575 GB, free: 0.9766 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.408e-05/0.6174, allocations: 4 kB / 0.5575 GB, free: 0.9727 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001306/0.6175, allocations: 70.27 kB / 0.5575 GB, free: 0.8984 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.6175, allocations: 11.88 kB / 0.5576 GB, free: 0.8906 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.6176, allocations: 0 / 0.5576 GB, free: 0.8906 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-06/0.6176, allocations: 0 / 0.5576 GB, free: 0.8906 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.16e-05/0.6177, allocations: 15.31 kB / 0.5576 GB, free: 0.8789 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004738/0.6181, allocations: 450 kB / 0.558 GB, free: 408 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001535/0.6183, allocations: 44.56 kB / 0.558 GB, free: 360 kB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.408e-05/0.6184, allocations: 12.61 kB / 0.5581 GB, free: 348 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.102e-05/0.6184, allocations: 3.938 kB / 0.5581 GB, free: 344 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.471e-05/0.6184, allocations: 30.56 kB / 0.5581 GB, free: 304 kB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.863e-06/0.6184, allocations: 0 / 0.5581 GB, free: 304 kB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.0004073/0.6188, allocations: 76.69 kB / 0.5582 GB, free: 228 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.34e-05/0.6189, allocations: 59.41 kB / 0.5582 GB, free: 156 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.825e-05/0.619, allocations: 115.6 kB / 0.5583 GB, free: 40 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.081e-05/0.619, allocations: 29.7 kB / 0.5584 GB, free: 4 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/0.6191, allocations: 158.3 kB / 0.5585 GB, free: 15.85 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.823e-05/0.6191, allocations: 11.34 kB / 0.5585 GB, free: 15.84 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.85e-06/0.6192, allocations: 4 kB / 0.5585 GB, free: 15.84 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.6193, allocations: 310.8 kB / 0.5588 GB, free: 15.53 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.6e-05/0.6193, allocations: 7.438 kB / 0.5588 GB, free: 15.52 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.037e-05/0.6194, allocations: 43.36 kB / 0.5589 GB, free: 15.47 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.782e-05/0.6195, allocations: 11.5 kB / 0.5589 GB, free: 15.46 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.6195, allocations: 0 / 0.5589 GB, free: 15.46 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001673/0.6197, allocations: 75.47 kB / 0.559 GB, free: 15.39 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.6197, allocations: 8.094 kB / 0.559 GB, free: 15.39 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/0.6197, allocations: 8.219 kB / 0.559 GB, free: 15.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.6197, allocations: 0 / 0.559 GB, free: 15.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/0.6199, allocations: 12 kB / 0.559 GB, free: 15.37 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.6199, allocations: 3.953 kB / 0.559 GB, free: 15.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.411e-05/0.62, allocations: 7.688 kB / 0.559 GB, free: 15.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.377e-05/0.62, allocations: 7.984 kB / 0.559 GB, free: 15.35 MB / 378.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 8.25e-05/0.6201, allocations: 105.3 kB / 0.5591 GB, free: 15.24 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.363e-05/0.6201, allocations: 8 kB / 0.5591 GB, free: 15.23 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.244e-05/0.6202, allocations: 7.469 kB / 0.5591 GB, free: 15.23 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.6202, allocations: 0 / 0.5591 GB, free: 15.23 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.6202, allocations: 3.938 kB / 0.5591 GB, free: 15.22 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.6202, allocations: 7.891 kB / 0.5591 GB, free: 15.21 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002288/0.6205, allocations: 172.4 kB / 0.5593 GB, free: 15.01 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.6205, allocations: 0 / 0.5593 GB, free: 15.01 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001314/0.6206, allocations: 11.98 kB / 0.5593 GB, free: 15 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.6206, allocations: 0 / 0.5593 GB, free: 15 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.6207, allocations: 0 / 0.5593 GB, free: 15 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.6207, allocations: 4 kB / 0.5593 GB, free: 14.99 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.6207, allocations: 4 kB / 0.5593 GB, free: 14.99 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002393/0.6209, allocations: 162.4 kB / 0.5595 GB, free: 14.82 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.743e-05/0.621, allocations: 80.94 kB / 0.5595 GB, free: 14.73 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.876e-05/0.621, allocations: 3.812 kB / 0.5595 GB, free: 14.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.536e-05/0.6211, allocations: 8.016 kB / 0.5596 GB, free: 14.72 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.527e-05/0.6212, allocations: 0 / 0.5596 GB, free: 14.72 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/0.6212, allocations: 5 kB / 0.5596 GB, free: 14.72 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.514e-05/0.6213, allocations: 94.91 kB / 0.5596 GB, free: 14.63 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.6213, allocations: 0 / 0.5596 GB, free: 14.63 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002917/0.6216, allocations: 8 kB / 0.5597 GB, free: 14.62 MB / 378.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.0005918/0.6222, allocations: 0.6918 MB / 0.5603 GB, free: 13.91 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001498/0.6224, allocations: 35.06 kB / 0.5604 GB, free: 13.89 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/0.6224, allocations: 0 / 0.5604 GB, free: 13.89 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.515e-05/0.6224, allocations: 11.94 kB / 0.5604 GB, free: 13.88 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002596/0.6227, allocations: 14 kB / 0.5604 GB, free: 13.87 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000663/0.6234, allocations: 164.9 kB / 0.5605 GB, free: 13.68 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003147/0.6237, allocations: 0.6887 MB / 0.5612 GB, free: 12.96 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.031e-05/0.6238, allocations: 11.06 kB / 0.5612 GB, free: 12.96 MB / 378.7 MB Notification: Performance of SimCode: time 9.92e-07/0.6238, allocations: 4.469 kB / 0.5612 GB, free: 12.95 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.44/3.064, allocations: 1.085 MB / 0.5623 GB, free: 11.88 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegratorForceState.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegratorForceState.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegratorForceState.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegratorForceState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegratorForceState_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_IntegratorForceState_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_IntegratorForceState.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegratorForceState_res.mat does not exist to compare? outputFormat=mat