Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous.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,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_Continuous",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Continuous,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_Continuous",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.0009542/0.0009546, allocations: 93.27 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.0008303/0.0008305, allocations: 176.8 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.365/1.365, allocations: 223.2 MB / 241.9 MB, free: 304 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.2041/0.2041, allocations: 44.23 MB / 337.2 MB, free: 2.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000316/0.000316, allocations: 12.2 kB / 409.7 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1282, allocations: 61.92 MB / 471.6 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous): time 0.005085/0.1333, allocations: 2.801 MB / 474.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002858/0.1362, allocations: 1.467 MB / 475.9 MB, free: 9.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003601/0.1366, allocations: 19.88 kB / 475.9 MB, free: 9.301 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004764/0.1371, allocations: 111.2 kB / 476 MB, free: 9.191 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003973/0.1375, allocations: 151 kB / 476.2 MB, free: 9.043 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001059/0.1386, allocations: 422.3 kB / 476.6 MB, free: 8.633 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001004/0.1396, allocations: 0.7835 MB / 477.4 MB, free: 7.848 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003295/0.1399, allocations: 185 kB / 477.6 MB, free: 7.656 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004442/0.1404, allocations: 290.6 kB / 477.8 MB, free: 7.371 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004016/0.1408, allocations: 318.4 kB / 478.2 MB, free: 7.059 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.491e-05/0.1409, allocations: 27.94 kB / 478.2 MB, free: 7.031 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.294e-05/0.1409, allocations: 24 kB / 478.2 MB, free: 7.008 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001894/0.1411, allocations: 159.3 kB / 478.4 MB, free: 6.852 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001072/0.1413, allocations: 129.3 kB / 478.5 MB, free: 6.719 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005109/0.1418, allocations: 0.5339 MB / 479 MB, free: 6.184 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1418, allocations: 0 / 479 MB, free: 6.184 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1418, allocations: 0 / 479 MB, free: 6.184 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.808e-06/0.1418, allocations: 0 / 479 MB, free: 6.184 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.002354/0.1442, allocations: 1.063 MB / 480.1 MB, free: 5.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/0.1442, allocations: 8.031 kB / 480.1 MB, free: 5.062 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001112/0.1443, allocations: 82.53 kB / 480.2 MB, free: 4.973 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001317/0.1445, allocations: 86.97 kB / 480.3 MB, free: 4.887 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009278/0.1454, allocations: 0.5304 MB / 480.8 MB, free: 4.316 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.927e-05/0.1455, allocations: 37 kB / 480.8 MB, free: 4.281 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001001/0.1456, allocations: 63.94 kB / 480.9 MB, free: 4.219 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001076/0.1467, allocations: 0.6213 MB / 481.5 MB, free: 3.539 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.202e-05/0.1467, allocations: 7.984 kB / 481.5 MB, free: 3.531 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.416e-05/0.1467, allocations: 20 kB / 481.5 MB, free: 3.512 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.529e-05/0.1468, allocations: 12 kB / 481.5 MB, free: 3.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001161/0.1479, allocations: 0.4904 MB / 482 MB, free: 3.012 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003822/0.1518, allocations: 2.698 MB / 484.7 MB, free: 216 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001122/0.1529, allocations: 0.5791 MB / 485.3 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005531/0.1535, allocations: 274.4 kB / 485.6 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.224e-05/0.1535, allocations: 8 kB / 485.6 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.857e-05/0.1536, allocations: 42.59 kB / 485.6 MB, free: 15.27 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 2.514e-06/0.1536, allocations: 0 / 485.6 MB, free: 15.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002544/0.1561, allocations: 1.201 MB / 486.8 MB, free: 14.06 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001157/0.1562, allocations: 140.5 kB / 487 MB, free: 13.89 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009909/0.1572, allocations: 0.6451 MB / 487.6 MB, free: 13.24 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.181e-05/0.1573, allocations: 33.7 kB / 487.7 MB, free: 13.2 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002745/0.1576, allocations: 368 kB / 488 MB, free: 12.84 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001815/0.1578, allocations: 177.5 kB / 488.2 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.102e-05/0.1578, allocations: 8 kB / 488.2 MB, free: 12.66 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001709/0.158, allocations: 337.9 kB / 488.5 MB, free: 12.32 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006921/0.1587, allocations: 281.1 kB / 488.8 MB, free: 12.05 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009854/0.1597, allocations: 449.1 kB / 489.2 MB, free: 11.54 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007463/0.1606, allocations: 333.2 kB / 489.6 MB, free: 11.21 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1606, allocations: 0 / 489.6 MB, free: 11.21 MB / 366.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001526/0.1621, allocations: 0.834 MB / 490.4 MB, free: 10.38 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001988/0.1623, allocations: 225.4 kB / 490.6 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.1624, allocations: 8 kB / 490.6 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/0.1624, allocations: 12.03 kB / 490.6 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008158/0.1632, allocations: 155.8 kB / 490.8 MB, free: 9.922 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.5e-05/0.1632, allocations: 15.94 kB / 490.8 MB, free: 9.906 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004551/0.1637, allocations: 87.62 kB / 490.9 MB, free: 9.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.547e-05/0.1637, allocations: 28 kB / 490.9 MB, free: 9.793 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.765e-06/0.1638, allocations: 11.95 kB / 490.9 MB, free: 9.781 MB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001484/0.1653, allocations: 0.7102 MB / 491.6 MB, free: 9.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.377e-06/0.1653, allocations: 8.531 kB / 491.6 MB, free: 9.062 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.688e-06/0.1653, allocations: 15.94 kB / 491.7 MB, free: 9.047 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006132/0.1659, allocations: 147.8 kB / 491.8 MB, free: 8.902 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.396e-05/0.1659, allocations: 15.92 kB / 491.8 MB, free: 8.887 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005256/0.1665, allocations: 83.55 kB / 491.9 MB, free: 8.805 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.211e-05/0.1665, allocations: 28 kB / 491.9 MB, free: 8.777 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.0003485/0.1669, allocations: 289.7 kB / 492.2 MB, free: 8.484 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001328/0.167, allocations: 79.02 kB / 492.3 MB, free: 8.406 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002274/0.1672, allocations: 94.2 kB / 492.4 MB, free: 8.309 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.704e-06/0.1673, allocations: 8 kB / 492.4 MB, free: 8.301 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.1673, allocations: 0 / 492.4 MB, free: 8.301 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.1673, allocations: 0 / 492.4 MB, free: 8.301 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001484/0.1688, allocations: 0.8532 MB / 493.2 MB, free: 7.391 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.1688, allocations: 0 / 493.2 MB, free: 7.391 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006119/0.1694, allocations: 119.9 kB / 493.4 MB, free: 7.273 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.1694, allocations: 3.938 kB / 493.4 MB, free: 7.27 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.269e-05/0.1695, allocations: 16 kB / 493.4 MB, free: 7.254 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.1695, allocations: 0 / 493.4 MB, free: 7.254 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.1695, allocations: 11.98 kB / 493.4 MB, free: 7.242 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002245/0.1717, allocations: 1.195 MB / 494.6 MB, free: 6.027 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002172/0.172, allocations: 204.1 kB / 494.8 MB, free: 5.809 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.523e-05/0.1721, allocations: 12 kB / 494.8 MB, free: 5.797 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004908/0.1726, allocations: 63.94 kB / 494.9 MB, free: 5.734 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/0.1727, allocations: 39.94 kB / 494.9 MB, free: 5.695 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.69e-05/0.1727, allocations: 8 kB / 494.9 MB, free: 5.688 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006444/0.1734, allocations: 459 kB / 495.4 MB, free: 5.242 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1734, allocations: 0 / 495.4 MB, free: 5.242 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007621/0.1741, allocations: 192 kB / 495.5 MB, free: 5.055 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.002642/0.1768, allocations: 1.76 MB / 497.3 MB, free: 3.266 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002207/0.179, allocations: 1.017 MB / 498.3 MB, free: 2.25 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.179, allocations: 0 / 498.3 MB, free: 2.25 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007002/0.1797, allocations: 299.7 kB / 498.6 MB, free: 1.957 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001196/0.1809, allocations: 177.6 kB / 498.8 MB, free: 1.785 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008859/0.1898, allocations: 4.869 MB / 0.4918 GB, free: 12.74 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006045/0.1904, allocations: 0.9497 MB / 0.4928 GB, free: 11.76 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005886/0.191, allocations: 148.8 kB / 0.4929 GB, free: 11.61 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003734/0.1914, allocations: 255.3 kB / 0.4932 GB, free: 11.36 MB / 382.1 MB Notification: Performance of SimCode: time 7.62e-07/0.1914, allocations: 3.938 kB / 0.4932 GB, free: 11.36 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2491/0.4405, allocations: 13.35 MB / 0.5062 GB, free: 47.13 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001655/0.4407, allocations: 163.5 kB / 0.5064 GB, free: 46.89 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.196/2.637, allocations: 0 / 0.5064 GB, free: 46.89 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Blocks_Continuous_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Blocks_Continuous.fmu > ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_res.mat does not exist to compare? outputFormat=mat