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.002256/0.002255, allocations: 179.2 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.045/2.045, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001113/0.001113, allocations: 92.06 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2926/0.2926, allocations: 43.49 MB / 353.6 MB, free: 2.266 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.046e-05/2.046e-05, allocations: 4.219 kB / 418.3 MB, free: 40.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.397/0.397, allocations: 58.85 MB / 477.2 MB, free: 5.16 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.16/0.5571, allocations: 84.3 MB / 0.5483 GB, free: 14.92 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002434/0.5574, allocations: 63.95 kB / 0.5484 GB, free: 14.86 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.003923/0.5614, allocations: 1.031 MB / 0.5494 GB, free: 13.82 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.5614, allocations: 0 / 0.5494 GB, free: 13.82 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.174e-05/0.5615, allocations: 7.938 kB / 0.5494 GB, free: 13.81 MB / 395.1 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.0004674/0.5619, allocations: 330.5 kB / 0.5497 GB, free: 13.45 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/0.562, allocations: 8.031 kB / 0.5497 GB, free: 13.44 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.688e-05/0.5621, allocations: 16.52 kB / 0.5497 GB, free: 13.42 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000227/0.5623, allocations: 175 kB / 0.5499 GB, free: 13.21 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.5623, allocations: 0 / 0.5499 GB, free: 13.21 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.444e-05/0.5624, allocations: 8 kB / 0.5499 GB, free: 13.2 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.809e-05/0.5625, allocations: 15.94 kB / 0.5499 GB, free: 13.19 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001261/0.5626, allocations: 58.86 kB / 0.55 GB, free: 13.12 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.5626, allocations: 0 / 0.55 GB, free: 13.12 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.5626, allocations: 0 / 0.55 GB, free: 13.12 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.5626, allocations: 4 kB / 0.55 GB, free: 13.11 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000595/0.5633, allocations: 429.6 kB / 0.5504 GB, free: 12.65 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001644/0.5634, allocations: 34.56 kB / 0.5504 GB, free: 12.61 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.565e-05/0.5635, allocations: 12.86 kB / 0.5504 GB, free: 12.59 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.613e-05/0.5635, allocations: 3.984 kB / 0.5504 GB, free: 12.59 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.899e-05/0.5636, allocations: 34.56 kB / 0.5505 GB, free: 12.54 MB / 395.1 MB Notification: Performance of pre-optimization done (n=3): time 2.164e-06/0.5636, allocations: 0 / 0.5505 GB, free: 12.54 MB / 395.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003672/0.5639, allocations: 73.61 kB / 0.5505 GB, free: 12.46 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.91e-05/0.564, allocations: 51.41 kB / 0.5506 GB, free: 12.4 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.5641, allocations: 101.1 kB / 0.5507 GB, free: 12.29 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/0.5641, allocations: 32.66 kB / 0.5507 GB, free: 12.26 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.126e-05/0.5643, allocations: 162.5 kB / 0.5509 GB, free: 12.1 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.863e-05/0.5643, allocations: 11.84 kB / 0.5509 GB, free: 12.09 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.649e-06/0.5643, allocations: 8 kB / 0.5509 GB, free: 12.08 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.5644, allocations: 314.8 kB / 0.5512 GB, free: 11.76 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.401e-05/0.5645, allocations: 8 kB / 0.5512 GB, free: 11.75 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.133e-05/0.5646, allocations: 35.42 kB / 0.5512 GB, free: 11.71 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.767e-05/0.5646, allocations: 15.94 kB / 0.5513 GB, free: 11.69 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.5646, allocations: 4 kB / 0.5513 GB, free: 11.69 MB / 395.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001785/0.5648, allocations: 65.53 kB / 0.5513 GB, free: 11.62 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.5649, allocations: 8 kB / 0.5513 GB, free: 11.61 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.5649, allocations: 384 / 0.5513 GB, free: 11.61 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.5649, allocations: 0 / 0.5513 GB, free: 11.61 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001296/0.565, allocations: 15.98 kB / 0.5513 GB, free: 11.59 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.5651, allocations: 0 / 0.5513 GB, free: 11.59 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.419e-05/0.5651, allocations: 7.938 kB / 0.5514 GB, free: 11.59 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/0.5652, allocations: 8.094 kB / 0.5514 GB, free: 11.58 MB / 395.1 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 9.287e-05/0.5653, allocations: 104.9 kB / 0.5515 GB, free: 11.47 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001229/0.5654, allocations: 53.62 kB / 0.5515 GB, free: 11.41 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.02e-05/0.5654, allocations: 7.906 kB / 0.5515 GB, free: 11.4 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.754e-05/0.5655, allocations: 8.344 kB / 0.5515 GB, free: 11.39 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.5655, allocations: 0 / 0.5515 GB, free: 11.39 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.5655, allocations: 3.984 kB / 0.5515 GB, free: 11.39 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.5655, allocations: 3.953 kB / 0.5515 GB, free: 11.38 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001993/0.5657, allocations: 138.2 kB / 0.5517 GB, free: 11.21 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.5658, allocations: 0 / 0.5517 GB, free: 11.21 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000155/0.5659, allocations: 19.98 kB / 0.5517 GB, free: 11.19 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.5659, allocations: 0.5469 kB / 0.5517 GB, free: 11.19 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.566, allocations: 0 / 0.5517 GB, free: 11.19 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.566, allocations: 0 / 0.5517 GB, free: 11.19 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.566, allocations: 0 / 0.5517 GB, free: 11.19 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002239/0.5662, allocations: 163.4 kB / 0.5518 GB, free: 11.02 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.103e-05/0.5663, allocations: 89.22 kB / 0.5519 GB, free: 10.91 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.278e-05/0.5663, allocations: 4.062 kB / 0.5519 GB, free: 10.91 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.5664, allocations: 11.97 kB / 0.5519 GB, free: 10.89 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.877e-05/0.5665, allocations: 336 / 0.5519 GB, free: 10.89 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.747e-06/0.5665, allocations: 4 kB / 0.5519 GB, free: 10.89 MB / 395.1 MB Notification: Performance of sorting global known variables: time 7.176e-05/0.5666, allocations: 87.27 kB / 0.552 GB, free: 10.8 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5666, allocations: 0 / 0.552 GB, free: 10.8 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.000327/0.5669, allocations: 8 kB / 0.552 GB, free: 10.8 MB / 395.1 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.0005881/0.5675, allocations: 0.6967 MB / 0.5527 GB, free: 10.07 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001371/0.5677, allocations: 27.98 kB / 0.5527 GB, free: 10.05 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.5677, allocations: 0 / 0.5527 GB, free: 10.05 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 3.974e-05/0.5678, allocations: 11.94 kB / 0.5528 GB, free: 10.04 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002945/0.5681, allocations: 8 kB / 0.5528 GB, free: 10.03 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006775/0.5688, allocations: 154 kB / 0.5529 GB, free: 9.836 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003161/0.5691, allocations: 0.6924 MB / 0.5536 GB, free: 9.117 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.823e-05/0.5692, allocations: 23.36 kB / 0.5536 GB, free: 9.094 MB / 395.1 MB Notification: Performance of SimCode: time 1.232e-06/0.5692, allocations: 0 / 0.5536 GB, free: 9.094 MB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.529/3.099, allocations: 1.068 MB / 0.5547 GB, free: 8.027 MB / 395.1 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