Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialState.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.Continuous_InitialState,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_Continuous_InitialState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_InitialState,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_Continuous_InitialState",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.0009628/0.0009629, allocations: 95.44 kB / 16.98 MB, free: 6.402 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.000908/0.000908, allocations: 178.7 kB / 17.88 MB, free: 5.957 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.368/1.368, allocations: 223.2 MB / 241.8 MB, free: 384 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.2209/0.2209, allocations: 44.23 MB / 337.1 MB, free: 2.906 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003529/0.0003529, allocations: 14.28 kB / 409.6 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1279, allocations: 61.91 MB / 471.5 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialState): time 0.003185/0.1311, allocations: 2.825 MB / 474.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002504/0.1337, allocations: 1.451 MB / 475.8 MB, free: 9.363 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002747/0.134, allocations: 19.88 kB / 475.8 MB, free: 9.344 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000381/0.1344, allocations: 95.33 kB / 475.9 MB, free: 9.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003912/0.1348, allocations: 187.3 kB / 476.1 MB, free: 9.066 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009413/0.1357, allocations: 417 kB / 476.5 MB, free: 8.664 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006888/0.1364, allocations: 0.5736 MB / 477.1 MB, free: 8.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002965/0.1368, allocations: 173 kB / 477.3 MB, free: 7.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004016/0.1372, allocations: 314.7 kB / 477.6 MB, free: 7.602 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003735/0.1376, allocations: 314.4 kB / 477.9 MB, free: 7.293 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.707e-05/0.1376, allocations: 20 kB / 477.9 MB, free: 7.273 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.964e-05/0.1377, allocations: 27.94 kB / 477.9 MB, free: 7.246 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001583/0.1378, allocations: 151.4 kB / 478.1 MB, free: 7.098 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.91e-05/0.138, allocations: 137.2 kB / 478.2 MB, free: 6.957 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004488/0.1384, allocations: 0.5339 MB / 478.7 MB, free: 6.422 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1384, allocations: 0 / 478.7 MB, free: 6.422 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1384, allocations: 0 / 478.7 MB, free: 6.422 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.986e-06/0.1384, allocations: 0 / 478.7 MB, free: 6.422 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: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.001941/0.1404, allocations: 1.059 MB / 479.8 MB, free: 5.312 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.1404, allocations: 8.031 kB / 479.8 MB, free: 5.305 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.328e-05/0.1405, allocations: 82.53 kB / 479.9 MB, free: 5.215 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001134/0.1407, allocations: 86.97 kB / 480 MB, free: 5.129 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008543/0.1415, allocations: 0.5265 MB / 480.5 MB, free: 4.562 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.559e-05/0.1416, allocations: 37 kB / 480.5 MB, free: 4.527 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.245e-05/0.1417, allocations: 67.94 kB / 480.6 MB, free: 4.461 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001078/0.1428, allocations: 0.6174 MB / 481.2 MB, free: 3.785 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.977e-05/0.1428, allocations: 7.906 kB / 481.2 MB, free: 3.777 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.018e-05/0.1428, allocations: 20 kB / 481.2 MB, free: 3.758 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/0.1429, allocations: 12 kB / 481.3 MB, free: 3.746 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001063/0.1439, allocations: 0.4905 MB / 481.7 MB, free: 3.258 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003555/0.1475, allocations: 2.69 MB / 484.4 MB, free: 476 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001183/0.1487, allocations: 0.5975 MB / 485 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.891e-05/0.1487, allocations: 4 kB / 485 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/0.1488, allocations: 38.66 kB / 485.1 MB, free: 15.79 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 2.044e-06/0.1488, allocations: 3.938 kB / 485.1 MB, free: 15.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002483/0.1513, allocations: 1.199 MB / 486.3 MB, free: 14.57 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.037e-05/0.1514, allocations: 132.5 kB / 486.4 MB, free: 14.41 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008089/0.1522, allocations: 0.6528 MB / 487.1 MB, free: 13.75 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.564e-05/0.1522, allocations: 33.7 kB / 487.1 MB, free: 13.71 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002578/0.1525, allocations: 367.9 kB / 487.5 MB, free: 13.35 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001433/0.1526, allocations: 169.5 kB / 487.6 MB, free: 13.18 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.114e-05/0.1527, allocations: 12 kB / 487.6 MB, free: 13.17 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.1528, allocations: 330 kB / 488 MB, free: 12.84 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007023/0.1535, allocations: 289.1 kB / 488.2 MB, free: 12.56 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007045/0.1542, allocations: 441.1 kB / 488.7 MB, free: 12.06 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006693/0.1549, allocations: 337.1 kB / 489 MB, free: 11.73 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.1549, allocations: 4 kB / 489 MB, free: 11.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001585/0.1565, allocations: 0.8364 MB / 489.8 MB, free: 10.89 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008382/0.1574, allocations: 1.742 MB / 491.6 MB, free: 9.012 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/0.1574, allocations: 7.938 kB / 491.6 MB, free: 9.004 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/0.1574, allocations: 8 kB / 491.6 MB, free: 8.996 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006771/0.1581, allocations: 167.7 kB / 491.8 MB, free: 8.832 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.524e-05/0.1581, allocations: 8 kB / 491.8 MB, free: 8.824 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005212/0.1587, allocations: 91.53 kB / 491.9 MB, free: 8.734 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.142e-05/0.1587, allocations: 31.98 kB / 491.9 MB, free: 8.703 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.233e-06/0.1587, allocations: 4 kB / 491.9 MB, free: 8.699 MB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001343/0.1601, allocations: 0.7184 MB / 492.6 MB, free: 7.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.1601, allocations: 4 kB / 492.6 MB, free: 7.977 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.377e-06/0.1601, allocations: 8 kB / 492.6 MB, free: 7.969 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006054/0.1607, allocations: 151.8 kB / 492.8 MB, free: 7.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.1607, allocations: 4 kB / 492.8 MB, free: 7.816 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005175/0.1613, allocations: 95.62 kB / 492.9 MB, free: 7.723 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.878e-05/0.1613, allocations: 23.94 kB / 492.9 MB, free: 7.699 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (limPID.I.local_reset,pID.I.local_reset,limIntegrator.local_reset,integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 77 * 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.0003193/0.1616, allocations: 288.9 kB / 493.2 MB, free: 7.406 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001434/0.1618, allocations: 83.05 kB / 493.2 MB, free: 7.324 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001656/0.162, allocations: 86.22 kB / 493.3 MB, free: 7.234 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.162, allocations: 4 kB / 493.3 MB, free: 7.23 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-05/0.162, allocations: 4 kB / 493.3 MB, free: 7.227 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/0.162, allocations: 3.984 kB / 493.3 MB, free: 7.223 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001312/0.1633, allocations: 0.8648 MB / 494.2 MB, free: 6.301 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.1633, allocations: 0 / 494.2 MB, free: 6.301 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006416/0.164, allocations: 111.9 kB / 494.3 MB, free: 6.191 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.154e-06/0.164, allocations: 4 kB / 494.3 MB, free: 6.188 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.879e-05/0.1641, allocations: 19.98 kB / 494.3 MB, free: 6.168 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.489e-06/0.1641, allocations: 4 kB / 494.3 MB, free: 6.164 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.1641, allocations: 0 / 494.3 MB, free: 6.164 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002114/0.1662, allocations: 1.227 MB / 495.6 MB, free: 4.906 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002533/0.1665, allocations: 196.1 kB / 495.8 MB, free: 4.695 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.776e-05/0.1666, allocations: 11.98 kB / 495.8 MB, free: 4.684 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00054/0.1671, allocations: 67.94 kB / 495.8 MB, free: 4.617 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001296/0.1672, allocations: 39.91 kB / 495.9 MB, free: 4.578 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.249e-05/0.1673, allocations: 15.98 kB / 495.9 MB, free: 4.562 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006334/0.1679, allocations: 459 kB / 496.3 MB, free: 4.117 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1679, allocations: 0 / 496.3 MB, free: 4.117 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007737/0.1687, allocations: 192 kB / 496.5 MB, free: 3.93 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (limPID.I.y,limPID.D.x,transferFunction.x_scaled[1],stateSpace.x[1],stateSpace.x[2],lowpassButterworth.x1[1],lowpassButterworth.x2[1],criticalDamping.x[1],criticalDamping.x[2],integrator.y,limIntegrator.y,derivative.x,firstOrder.y,secondOrder.y,secondOrder.yd,pI.x,pID.I.y,pID.D.x) * 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 (44): * Single equations (assignments): 44 * 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.002362/0.1711, allocations: 1.919 MB / 498.5 MB, free: 1.977 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002411/0.1735, allocations: 1.012 MB / 499.5 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/0.1735, allocations: 0 / 499.5 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006635/0.1742, allocations: 311.8 kB / 499.8 MB, free: 0.6641 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001057/0.1753, allocations: 157 kB / 499.9 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008721/0.184, allocations: 7.695 MB / 0.4957 GB, free: 8.605 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004964/0.1845, allocations: 0.9614 MB / 0.4967 GB, free: 7.617 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005011/0.1851, allocations: 156.8 kB / 0.4968 GB, free: 7.461 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003662/0.1854, allocations: 255.4 kB / 0.4971 GB, free: 7.211 MB / 382.1 MB Notification: Performance of SimCode: time 1.573e-06/0.1854, allocations: 0 / 0.4971 GB, free: 7.211 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2555/0.4409, allocations: 13.33 MB / 0.5101 GB, free: 47.95 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000206/0.4412, allocations: 177.8 kB / 0.5102 GB, free: 47.71 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.223/2.664, allocations: 3.938 kB / 0.5102 GB, free: 47.7 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialState.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialState.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialState.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialState_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Blocks_Continuous_InitialState_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Blocks_Continuous_InitialState.fmu > ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialState.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialState_res.mat does not exist to compare? outputFormat=mat