Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.IntegratorForceState,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_IntegratorForceState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.IntegratorForceState,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_IntegratorForceState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008906/0.0008904, allocations: 96.78 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008182/0.0008184, allocations: 189.2 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 223.2 MB / 241.9 MB, free: 336 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2548/0.2548, allocations: 44.23 MB / 337.2 MB, free: 2.793 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005062/0.0005063, allocations: 12 kB / 409.7 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.1478, allocations: 61.93 MB / 471.6 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.00168/0.1495, allocations: 1.253 MB / 472.9 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002141/0.1497, allocations: 47.91 kB / 472.9 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.37e-05/0.1498, allocations: 3.938 kB / 472.9 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.25e-05/0.1499, allocations: 7.984 kB / 473 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.743e-05/0.15, allocations: 3.938 kB / 473 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001062/0.1501, allocations: 11.98 kB / 473 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.709e-05/0.1502, allocations: 43.84 kB / 473 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.814e-05/0.1503, allocations: 4 kB / 473 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.715e-05/0.1503, allocations: 11.92 kB / 473 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.232e-05/0.1504, allocations: 11.94 kB / 473 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.326e-05/0.1504, allocations: 0 / 473 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.12e-05/0.1504, allocations: 4 kB / 473 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.427e-05/0.1504, allocations: 7.984 kB / 473.1 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.405e-05/0.1504, allocations: 29.7 kB / 473.1 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 6.178e-05/0.1505, allocations: 24.19 kB / 473.1 MB, free: 12.15 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.1505, allocations: 3.938 kB / 473.1 MB, free: 12.14 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1505, allocations: 3.938 kB / 473.1 MB, free: 12.14 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.1505, allocations: 0 / 473.1 MB, free: 12.14 MB / 350.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.0003857/0.1509, allocations: 343.3 kB / 473.4 MB, free: 11.76 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.151, allocations: 8.031 kB / 473.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.353e-05/0.151, allocations: 38.56 kB / 473.5 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.513e-05/0.1511, allocations: 7.906 kB / 473.5 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001507/0.1512, allocations: 171 kB / 473.7 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.768e-06/0.1512, allocations: 8 kB / 473.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.989e-05/0.1513, allocations: 3.953 kB / 473.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001509/0.1514, allocations: 76.19 kB / 473.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.1514, allocations: 0 / 473.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.153e-06/0.1514, allocations: 4 kB / 473.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.1515, allocations: 4 kB / 473.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.666e-05/0.1515, allocations: 23.98 kB / 473.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005021/0.1521, allocations: 453 kB / 474.2 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001538/0.1522, allocations: 50.55 kB / 474.3 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.865e-05/0.1523, allocations: 12.86 kB / 474.3 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.138e-05/0.1523, allocations: 3.938 kB / 474.3 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.952e-05/0.1523, allocations: 34.56 kB / 474.3 MB, free: 10.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.1523, allocations: 0 / 474.3 MB, free: 10.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004217/0.1528, allocations: 118 kB / 474.4 MB, free: 10.61 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.671e-05/0.1528, allocations: 55.34 kB / 474.5 MB, free: 10.55 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.166e-05/0.1529, allocations: 121.9 kB / 474.6 MB, free: 10.41 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.205e-05/0.1529, allocations: 25.7 kB / 474.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.725e-05/0.153, allocations: 99.97 kB / 474.7 MB, free: 10.28 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.289e-05/0.153, allocations: 7.891 kB / 474.7 MB, free: 10.27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.016e-06/0.153, allocations: 0 / 474.7 MB, free: 10.27 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.1531, allocations: 322.8 kB / 475.1 MB, free: 9.949 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.005e-05/0.1532, allocations: 15.98 kB / 475.1 MB, free: 9.934 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.724e-05/0.1532, allocations: 43.42 kB / 475.1 MB, free: 9.879 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.773e-05/0.1533, allocations: 20 kB / 475.1 MB, free: 9.859 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.1533, allocations: 0 / 475.1 MB, free: 9.859 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001565/0.1535, allocations: 93.45 kB / 475.2 MB, free: 9.762 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.1535, allocations: 8 kB / 475.2 MB, free: 9.754 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.1535, allocations: 3.984 kB / 475.2 MB, free: 9.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.1535, allocations: 3.938 kB / 475.2 MB, free: 9.746 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.968e-05/0.1536, allocations: 12 kB / 475.3 MB, free: 9.734 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.1536, allocations: 0 / 475.3 MB, free: 9.734 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.895e-05/0.1537, allocations: 4 kB / 475.3 MB, free: 9.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.1537, allocations: 4 kB / 475.3 MB, free: 9.727 MB / 350.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 () * 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.0001014/0.1538, allocations: 126.4 kB / 475.4 MB, free: 9.594 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.457e-05/0.1538, allocations: 7.844 kB / 475.4 MB, free: 9.586 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.403e-05/0.1538, allocations: 11.91 kB / 475.4 MB, free: 9.574 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.1538, allocations: 0 / 475.4 MB, free: 9.574 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.1538, allocations: 0 / 475.4 MB, free: 9.574 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.1539, allocations: 4 kB / 475.4 MB, free: 9.57 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001684/0.154, allocations: 170 kB / 475.6 MB, free: 9.355 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.154, allocations: 0 / 475.6 MB, free: 9.355 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.205e-05/0.1541, allocations: 15.98 kB / 475.6 MB, free: 9.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.1541, allocations: 4 kB / 475.6 MB, free: 9.336 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-06/0.1541, allocations: 3.938 kB / 475.6 MB, free: 9.332 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1541, allocations: 0 / 475.6 MB, free: 9.332 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.1542, allocations: 160 / 475.6 MB, free: 9.332 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002259/0.1544, allocations: 179.5 kB / 475.8 MB, free: 9.141 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.961e-05/0.1544, allocations: 93.09 kB / 475.9 MB, free: 9.031 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.251e-05/0.1545, allocations: 0 / 475.9 MB, free: 9.031 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.048e-05/0.1545, allocations: 4 kB / 475.9 MB, free: 9.027 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.566e-05/0.1546, allocations: 3.938 kB / 475.9 MB, free: 9.023 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.995e-06/0.1546, allocations: 0 / 475.9 MB, free: 9.023 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.591e-05/0.1546, allocations: 91.27 kB / 476 MB, free: 8.934 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1546, allocations: 0 / 476 MB, free: 8.934 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002247/0.1548, allocations: 12 kB / 476 MB, free: 8.922 MB / 350.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 () * 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.0004418/0.1553, allocations: 0.7086 MB / 476.7 MB, free: 8.184 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00013/0.1554, allocations: 44.11 kB / 476.7 MB, free: 8.141 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1554, allocations: 0 / 476.7 MB, free: 8.141 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.311e-05/0.1555, allocations: 19.98 kB / 476.7 MB, free: 8.121 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002867/0.1558, allocations: 15.92 kB / 476.8 MB, free: 8.105 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008497/0.1567, allocations: 0.5055 MB / 477.3 MB, free: 7.543 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002237/0.1569, allocations: 0.6948 MB / 478 MB, free: 6.824 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.877e-05/0.1569, allocations: 4.188 kB / 478 MB, free: 6.82 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.501e-05/0.157, allocations: 15.5 kB / 478 MB, free: 6.805 MB / 350.1 MB Notification: Performance of SimCode: time 1.543e-06/0.157, allocations: 0 / 478 MB, free: 6.805 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0116/0.1686, allocations: 1.336 MB / 479.3 MB, free: 5.586 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001953/0.1688, allocations: 176.3 kB / 479.5 MB, free: 5.352 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.844/2.012, allocations: 0 / 479.5 MB, free: 5.352 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Blocks_IntegratorForceState_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Blocks_IntegratorForceState.fmu > ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState_res.mat does not exist to compare? outputFormat=mat