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.0007961/0.0007961, allocations: 98.77 kB / 17 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.0008317/0.0008319, allocations: 178.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.389/1.389, allocations: 223.2 MB / 241.9 MB, free: 332 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.2005/0.2005, allocations: 44.23 MB / 337.2 MB, free: 2.812 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002868/0.0002869, allocations: 8 kB / 409.7 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1347, allocations: 61.92 MB / 471.6 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialState): time 0.004329/0.1391, allocations: 2.82 MB / 474.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003318/0.1424, allocations: 1.478 MB / 475.9 MB, free: 9.332 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006634/0.1431, allocations: 19.88 kB / 476 MB, free: 9.312 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006655/0.1438, allocations: 107.2 kB / 476.1 MB, free: 9.207 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008299/0.1446, allocations: 151 kB / 476.2 MB, free: 9.059 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001593/0.1463, allocations: 425 kB / 476.6 MB, free: 8.648 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001531/0.1478, allocations: 0.7874 MB / 477.4 MB, free: 7.859 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005017/0.1483, allocations: 185 kB / 477.6 MB, free: 7.668 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005662/0.1489, allocations: 290.6 kB / 477.9 MB, free: 7.383 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000489/0.1494, allocations: 326.3 kB / 478.2 MB, free: 7.062 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.378e-05/0.1495, allocations: 20 kB / 478.2 MB, free: 7.043 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.71e-05/0.1495, allocations: 23.94 kB / 478.2 MB, free: 7.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001801/0.1497, allocations: 151.3 kB / 478.4 MB, free: 6.871 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001264/0.1499, allocations: 137.3 kB / 478.5 MB, free: 6.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004818/0.1503, allocations: 0.53 MB / 479.1 MB, free: 6.199 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1504, allocations: 0 / 479.1 MB, free: 6.199 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1504, allocations: 0 / 479.1 MB, free: 6.199 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.486e-06/0.1504, allocations: 0 / 479.1 MB, free: 6.199 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.002047/0.1524, allocations: 1.063 MB / 480.1 MB, free: 5.086 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.1525, allocations: 8.031 kB / 480.1 MB, free: 5.078 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001178/0.1526, allocations: 86.52 kB / 480.2 MB, free: 4.984 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001358/0.1528, allocations: 90.97 kB / 480.3 MB, free: 4.895 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008718/0.1536, allocations: 0.5265 MB / 480.8 MB, free: 4.328 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.027e-05/0.1537, allocations: 41 kB / 480.9 MB, free: 4.289 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.137e-05/0.1538, allocations: 59.89 kB / 480.9 MB, free: 4.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001132/0.1549, allocations: 0.6213 MB / 481.5 MB, free: 3.551 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/0.155, allocations: 7.906 kB / 481.6 MB, free: 3.543 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.628e-05/0.155, allocations: 16 kB / 481.6 MB, free: 3.527 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.339e-05/0.155, allocations: 15.94 kB / 481.6 MB, free: 3.512 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00102/0.1561, allocations: 0.4944 MB / 482.1 MB, free: 3.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003764/0.1598, allocations: 2.698 MB / 484.8 MB, free: 224 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001117/0.161, allocations: 0.5763 MB / 485.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005599/0.1615, allocations: 270.4 kB / 485.6 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.413e-05/0.1616, allocations: 4 kB / 485.6 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.504e-05/0.1616, allocations: 46.59 kB / 485.7 MB, free: 15.29 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 3.006e-06/0.1617, allocations: 3.938 kB / 485.7 MB, free: 15.28 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002528/0.1642, allocations: 1.203 MB / 486.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.426e-05/0.1643, allocations: 140.4 kB / 487 MB, free: 13.9 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008078/0.1651, allocations: 0.645 MB / 487.7 MB, free: 13.25 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.551e-05/0.1652, allocations: 33.7 kB / 487.7 MB, free: 13.21 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002671/0.1654, allocations: 364 kB / 488 MB, free: 12.85 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001514/0.1656, allocations: 169.5 kB / 488.2 MB, free: 12.68 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.969e-05/0.1656, allocations: 12 kB / 488.2 MB, free: 12.67 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.1658, allocations: 337.9 kB / 488.5 MB, free: 12.33 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005925/0.1664, allocations: 281.1 kB / 488.8 MB, free: 12.06 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007403/0.1671, allocations: 453.1 kB / 489.3 MB, free: 11.55 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007019/0.1678, allocations: 329.2 kB / 489.6 MB, free: 11.23 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/0.1678, allocations: 0 / 489.6 MB, free: 11.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001619/0.1695, allocations: 0.8363 MB / 490.4 MB, free: 10.39 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001687/0.1696, allocations: 221.7 kB / 490.6 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.1697, allocations: 4 kB / 490.6 MB, free: 10.1 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.346e-05/0.1697, allocations: 12 kB / 490.7 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006644/0.1704, allocations: 155.8 kB / 490.8 MB, free: 9.938 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.887e-05/0.1704, allocations: 15.92 kB / 490.8 MB, free: 9.922 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004832/0.1709, allocations: 95.53 kB / 490.9 MB, free: 9.828 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.565e-05/0.1709, allocations: 20 kB / 490.9 MB, free: 9.809 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.628e-06/0.171, allocations: 10.45 kB / 490.9 MB, free: 9.801 MB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001367/0.1723, allocations: 0.718 MB / 491.7 MB, free: 9.082 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.1723, allocations: 4 kB / 491.7 MB, free: 9.078 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.1724, allocations: 8 kB / 491.7 MB, free: 9.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000585/0.173, allocations: 160.2 kB / 491.8 MB, free: 8.914 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.174e-05/0.173, allocations: 11.94 kB / 491.8 MB, free: 8.902 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004453/0.1734, allocations: 83.62 kB / 491.9 MB, free: 8.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.18e-05/0.1735, allocations: 24 kB / 491.9 MB, free: 8.797 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.0003273/0.1738, allocations: 284.9 kB / 492.2 MB, free: 8.508 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001509/0.174, allocations: 79.02 kB / 492.3 MB, free: 8.43 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00021/0.1742, allocations: 90.2 kB / 492.4 MB, free: 8.336 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.876e-06/0.1742, allocations: 8.031 kB / 492.4 MB, free: 8.328 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.839e-06/0.1742, allocations: 0 / 492.4 MB, free: 8.328 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.798e-06/0.1742, allocations: 11.98 kB / 492.4 MB, free: 8.316 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001314/0.1756, allocations: 0.857 MB / 493.3 MB, free: 7.402 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.1756, allocations: 0 / 493.3 MB, free: 7.402 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006058/0.1762, allocations: 119.9 kB / 493.4 MB, free: 7.285 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.702e-06/0.1762, allocations: 4 kB / 493.4 MB, free: 7.281 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.478e-05/0.1762, allocations: 15.98 kB / 493.4 MB, free: 7.266 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.1763, allocations: 0 / 493.4 MB, free: 7.266 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1763, allocations: 4 kB / 493.4 MB, free: 7.262 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00191/0.1782, allocations: 1.204 MB / 494.6 MB, free: 6.039 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002211/0.1784, allocations: 200.1 kB / 494.8 MB, free: 5.824 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.562e-05/0.1785, allocations: 19.98 kB / 494.8 MB, free: 5.805 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004938/0.179, allocations: 55.95 kB / 494.9 MB, free: 5.75 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.1791, allocations: 35.94 kB / 494.9 MB, free: 5.715 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.177e-05/0.1792, allocations: 19.98 kB / 494.9 MB, free: 5.695 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006209/0.1798, allocations: 455 kB / 495.4 MB, free: 5.254 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1798, allocations: 0 / 495.4 MB, free: 5.254 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007675/0.1806, allocations: 192 kB / 495.6 MB, free: 5.066 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.002298/0.1829, allocations: 1.759 MB / 497.3 MB, free: 3.281 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002135/0.185, allocations: 1.016 MB / 498.3 MB, free: 2.27 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.185, allocations: 8.062 kB / 498.4 MB, free: 2.262 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006398/0.1857, allocations: 299.7 kB / 498.6 MB, free: 1.969 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001124/0.1868, allocations: 169.3 kB / 498.8 MB, free: 1.805 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008212/0.195, allocations: 4.869 MB / 0.4919 GB, free: 12.76 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005735/0.1957, allocations: 0.9537 MB / 0.4928 GB, free: 11.78 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005721/0.1962, allocations: 156.7 kB / 0.493 GB, free: 11.62 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003896/0.1966, allocations: 259.3 kB / 0.4932 GB, free: 11.37 MB / 382.1 MB Notification: Performance of SimCode: time 8.01e-07/0.1967, allocations: 0 / 0.4932 GB, free: 11.37 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2817/0.4784, allocations: 13.35 MB / 0.5062 GB, free: 47.17 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002097/0.4786, allocations: 192.6 kB / 0.5064 GB, free: 46.93 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.144/2.622, allocations: 0 / 0.5064 GB, free: 46.93 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