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.001041/0.001041, allocations: 182.8 kB / 15.76 MB, free: 6.367 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.409/1.409, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0008051/0.0008049, allocations: 90.86 kB / 270.2 MB, free: 13.37 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.201/0.201, allocations: 43.57 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003089/0.0003091, allocations: 16 kB / 431.5 MB, free: 19.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1226, allocations: 58.85 MB / 490.3 MB, free: 8.59 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3524/0.4751, allocations: 85.06 MB / 0.5619 GB, free: 14.58 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000187/0.4753, allocations: 64.91 kB / 0.562 GB, free: 14.55 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002787/0.4781, allocations: 1.03 MB / 0.563 GB, free: 13.64 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.384e-06/0.4781, allocations: 0 / 0.563 GB, free: 13.64 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.307e-05/0.4782, allocations: 8 kB / 0.563 GB, free: 13.63 MB / 378.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.0003968/0.4786, allocations: 349.2 kB / 0.5633 GB, free: 13.25 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.4786, allocations: 8.031 kB / 0.5633 GB, free: 13.24 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.502e-05/0.4787, allocations: 38.05 kB / 0.5634 GB, free: 13.2 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.924e-05/0.4787, allocations: 4 kB / 0.5634 GB, free: 13.2 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001988/0.4789, allocations: 182.2 kB / 0.5635 GB, free: 12.98 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.479, allocations: 4 kB / 0.5635 GB, free: 12.98 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.1e-05/0.479, allocations: 0 / 0.5635 GB, free: 12.98 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001824/0.4792, allocations: 82.12 kB / 0.5636 GB, free: 12.89 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.4792, allocations: 0.9844 kB / 0.5636 GB, free: 12.89 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.4792, allocations: 0 / 0.5636 GB, free: 12.89 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.4792, allocations: 4 kB / 0.5636 GB, free: 12.89 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.455e-05/0.4793, allocations: 27.48 kB / 0.5637 GB, free: 12.86 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005637/0.4799, allocations: 442.4 kB / 0.5641 GB, free: 12.39 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001725/0.4801, allocations: 53.25 kB / 0.5641 GB, free: 12.34 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.166e-05/0.4801, allocations: 0 / 0.5641 GB, free: 12.34 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.084e-05/0.4801, allocations: 30.56 kB / 0.5642 GB, free: 12.3 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.874e-06/0.4801, allocations: 0 / 0.5642 GB, free: 12.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=4): time 0.000537/0.4807, allocations: 126.4 kB / 0.5643 GB, free: 12.18 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.735e-05/0.4807, allocations: 55.36 kB / 0.5643 GB, free: 12.12 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.129e-05/0.4808, allocations: 108.6 kB / 0.5644 GB, free: 12 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.4809, allocations: 29.08 kB / 0.5645 GB, free: 11.97 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.788e-05/0.4809, allocations: 87.55 kB / 0.5645 GB, free: 11.89 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.973e-05/0.481, allocations: 19.73 kB / 0.5646 GB, free: 11.87 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.148e-06/0.481, allocations: 3.5 kB / 0.5646 GB, free: 11.87 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.4811, allocations: 310.8 kB / 0.5649 GB, free: 11.55 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.579e-05/0.4812, allocations: 23.55 kB / 0.5649 GB, free: 11.54 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.963e-05/0.4812, allocations: 42.36 kB / 0.5649 GB, free: 11.49 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.203e-05/0.4813, allocations: 15.38 kB / 0.5649 GB, free: 11.48 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.4813, allocations: 0 / 0.5649 GB, free: 11.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000178/0.4815, allocations: 95.83 kB / 0.565 GB, free: 11.39 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.4815, allocations: 7.438 kB / 0.565 GB, free: 11.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.4815, allocations: 0 / 0.565 GB, free: 11.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.4816, allocations: 4 kB / 0.565 GB, free: 11.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.279e-05/0.4816, allocations: 11.98 kB / 0.5651 GB, free: 11.37 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.4816, allocations: 4.875 kB / 0.5651 GB, free: 11.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.296e-05/0.4817, allocations: 15.86 kB / 0.5651 GB, free: 11.35 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-06/0.4817, allocations: 0 / 0.5651 GB, free: 11.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 () * Number of clocked 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 0.0001222/0.4818, allocations: 125 kB / 0.5652 GB, free: 11.22 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.692e-05/0.4819, allocations: 4 kB / 0.5652 GB, free: 11.22 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.862e-05/0.4819, allocations: 7.656 kB / 0.5652 GB, free: 11.21 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-06/0.4819, allocations: 0 / 0.5652 GB, free: 11.21 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.4819, allocations: 0 / 0.5652 GB, free: 11.21 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.788e-06/0.4819, allocations: 3.984 kB / 0.5652 GB, free: 11.2 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001814/0.4821, allocations: 173.8 kB / 0.5654 GB, free: 10.99 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.4821, allocations: 4 kB / 0.5654 GB, free: 10.99 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.95e-05/0.4822, allocations: 11.98 kB / 0.5654 GB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.4822, allocations: 0 / 0.5654 GB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.4822, allocations: 0 / 0.5654 GB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.4822, allocations: 11.83 kB / 0.5654 GB, free: 10.97 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.4822, allocations: 0 / 0.5654 GB, free: 10.97 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000275/0.4825, allocations: 185.1 kB / 0.5656 GB, free: 10.79 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.518e-05/0.4826, allocations: 81.09 kB / 0.5657 GB, free: 10.69 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.624e-05/0.4826, allocations: 3.938 kB / 0.5657 GB, free: 10.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.093e-05/0.4827, allocations: 7.656 kB / 0.5657 GB, free: 10.68 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.327e-05/0.4827, allocations: 0 / 0.5657 GB, free: 10.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.4827, allocations: 4 kB / 0.5657 GB, free: 10.68 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.566e-05/0.4828, allocations: 94.95 kB / 0.5658 GB, free: 10.59 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4828, allocations: 0 / 0.5658 GB, free: 10.59 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002098/0.483, allocations: 8.062 kB / 0.5658 GB, free: 10.58 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 () * Number of clocked 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.0005444/0.4836, allocations: 0.7124 MB / 0.5665 GB, free: 9.855 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000152/0.4837, allocations: 46.61 kB / 0.5665 GB, free: 9.816 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.4837, allocations: 0 / 0.5665 GB, free: 9.816 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.345e-05/0.4838, allocations: 23.3 kB / 0.5665 GB, free: 9.797 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002321/0.484, allocations: 14.84 kB / 0.5665 GB, free: 9.789 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001103/0.4852, allocations: 0.9453 MB / 0.5675 GB, free: 8.82 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000298/0.4855, allocations: 0.6926 MB / 0.5681 GB, free: 8.102 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 3.335e-05/0.4855, allocations: 4.391 kB / 0.5681 GB, free: 8.098 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.08e-05/0.4856, allocations: 17.69 kB / 0.5682 GB, free: 8.086 MB / 378.7 MB Notification: Performance of SimCode: time 3.81e-07/0.4856, allocations: 3.938 kB / 0.5682 GB, free: 8.082 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01215/0.4977, allocations: 1.323 MB / 0.5695 GB, free: 6.801 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001832/0.4979, allocations: 169 kB / 0.5696 GB, free: 6.562 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.527/2.025, allocations: 0 / 0.5696 GB, free: 6.562 MB / 378.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