Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters.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.StrictLimiters,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_StrictLimiters",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.StrictLimiters,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_StrictLimiters",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.0008812/0.0008814, allocations: 99.03 kB / 17 MB, free: 6.398 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.001129/0.00113, allocations: 177.7 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.445/1.445, allocations: 223.3 MB / 241.9 MB, free: 264 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.2138/0.2138, allocations: 44.22 MB / 337.2 MB, free: 2.812 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003291/0.0003291, allocations: 8 kB / 409.7 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1244, allocations: 61.92 MB / 471.6 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.003331/0.1278, allocations: 2.952 MB / 474.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002309/0.1301, allocations: 1.325 MB / 475.9 MB, free: 9.355 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003601/0.1305, allocations: 23.88 kB / 475.9 MB, free: 9.332 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000265/0.1308, allocations: 79.23 kB / 476 MB, free: 9.254 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000499/0.1313, allocations: 115 kB / 476.1 MB, free: 9.141 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00116/0.1324, allocations: 478.7 kB / 476.6 MB, free: 8.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009615/0.1334, allocations: 0.804 MB / 477.4 MB, free: 7.875 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004541/0.1339, allocations: 228.6 kB / 477.6 MB, free: 7.645 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004078/0.1343, allocations: 270.6 kB / 477.9 MB, free: 7.379 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003492/0.1346, allocations: 286.3 kB / 478.2 MB, free: 7.098 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.485e-05/0.1347, allocations: 20 kB / 478.2 MB, free: 7.078 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.424e-05/0.1348, allocations: 24 kB / 478.2 MB, free: 7.055 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000122/0.1349, allocations: 107.4 kB / 478.3 MB, free: 6.949 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001272/0.1351, allocations: 133.3 kB / 478.5 MB, free: 6.812 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005719/0.1356, allocations: 0.5689 MB / 479 MB, free: 6.242 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.295e-06/0.1357, allocations: 0 / 479 MB, free: 6.242 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1357, allocations: 3.938 kB / 479 MB, free: 6.238 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.057e-06/0.1357, allocations: 4 kB / 479 MB, free: 6.234 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.001961/0.1376, allocations: 1.114 MB / 480.1 MB, free: 5.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.1377, allocations: 8.031 kB / 480.2 MB, free: 5.062 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001143/0.1378, allocations: 90.52 kB / 480.2 MB, free: 4.965 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001286/0.138, allocations: 94.88 kB / 480.3 MB, free: 4.871 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006621/0.1386, allocations: 0.5225 MB / 480.9 MB, free: 4.305 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.34e-05/0.1387, allocations: 37 kB / 480.9 MB, free: 4.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.667e-05/0.1388, allocations: 55.95 kB / 480.9 MB, free: 4.215 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001487/0.1402, allocations: 0.7462 MB / 481.7 MB, free: 3.414 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.343e-05/0.1403, allocations: 7.938 kB / 481.7 MB, free: 3.406 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.225e-05/0.1403, allocations: 20 kB / 481.7 MB, free: 3.387 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.406e-05/0.1404, allocations: 12 kB / 481.7 MB, free: 3.375 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0015/0.1419, allocations: 0.6401 MB / 482.4 MB, free: 2.738 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003093/0.145, allocations: 2.341 MB / 484.7 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00169/0.1467, allocations: 0.8154 MB / 485.5 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00079/0.1475, allocations: 382.2 kB / 485.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.069e-05/0.1475, allocations: 8.375 kB / 485.9 MB, free: 15.06 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.931e-05/0.1476, allocations: 38.94 kB / 485.9 MB, free: 15.02 MB / 366.1 MB Notification: Performance of pre-optimization done (n=48): time 1.843e-06/0.1476, allocations: 0 / 485.9 MB, free: 15.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=50): time 0.004665/0.1523, allocations: 2.162 MB / 488.1 MB, free: 12.8 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/0.1524, allocations: 188.3 kB / 488.3 MB, free: 12.57 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007005/0.1531, allocations: 0.5707 MB / 488.9 MB, free: 12 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.747e-05/0.1531, allocations: 29.7 kB / 488.9 MB, free: 11.96 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003107/0.1535, allocations: 352.8 kB / 489.2 MB, free: 11.61 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001586/0.1536, allocations: 181.4 kB / 489.4 MB, free: 11.43 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.928e-05/0.1537, allocations: 8 kB / 489.4 MB, free: 11.43 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001986/0.1539, allocations: 386.8 kB / 489.8 MB, free: 11.04 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008168/0.1547, allocations: 344.8 kB / 490.1 MB, free: 10.7 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008845/0.1556, allocations: 462 kB / 490.6 MB, free: 10.21 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000812/0.1564, allocations: 354 kB / 490.9 MB, free: 9.859 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.1564, allocations: 0 / 490.9 MB, free: 9.859 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002004/0.1584, allocations: 0.8922 MB / 491.8 MB, free: 8.965 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001079/0.1586, allocations: 151.2 kB / 492 MB, free: 8.781 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.1586, allocations: 0 / 492 MB, free: 8.781 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/0.1586, allocations: 11.95 kB / 492 MB, free: 8.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008575/0.1595, allocations: 219.7 kB / 492.2 MB, free: 8.555 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.534e-05/0.1595, allocations: 7.984 kB / 492.2 MB, free: 8.547 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005196/0.16, allocations: 103.9 kB / 492.3 MB, free: 8.445 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.033e-05/0.1601, allocations: 19.98 kB / 492.3 MB, free: 8.426 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.595e-06/0.1601, allocations: 4 kB / 492.3 MB, free: 8.422 MB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00124/0.1613, allocations: 0.6181 MB / 493 MB, free: 7.805 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.1613, allocations: 4 kB / 493 MB, free: 7.801 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.315e-06/0.1613, allocations: 4 kB / 493 MB, free: 7.797 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006649/0.162, allocations: 180 kB / 493.1 MB, free: 7.621 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.162, allocations: 7.984 kB / 493.1 MB, free: 7.613 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004211/0.1625, allocations: 71.95 kB / 493.2 MB, free: 7.543 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.406e-05/0.1625, allocations: 20 kB / 493.2 MB, free: 7.523 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 4 (PID2.I.local_reset,PID1.I.local_reset,limIntegrator2.local_reset,limIntegrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 66 * 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.0003564/0.1629, allocations: 273.5 kB / 493.5 MB, free: 7.246 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001333/0.163, allocations: 75.06 kB / 493.6 MB, free: 7.172 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000179/0.1632, allocations: 83.28 kB / 493.7 MB, free: 7.086 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.1632, allocations: 4 kB / 493.7 MB, free: 7.082 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.758e-06/0.1632, allocations: 7.938 kB / 493.7 MB, free: 7.074 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/0.1632, allocations: 3.984 kB / 493.7 MB, free: 7.07 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002702/0.1659, allocations: 1.545 MB / 495.2 MB, free: 5.465 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.166, allocations: 4 kB / 495.2 MB, free: 5.461 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006622/0.1666, allocations: 171.9 kB / 495.4 MB, free: 5.293 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/0.1666, allocations: 7.938 kB / 495.4 MB, free: 5.285 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.121e-05/0.1667, allocations: 19.98 kB / 495.4 MB, free: 5.266 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.439e-06/0.1667, allocations: 7.891 kB / 495.4 MB, free: 5.258 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.1667, allocations: 4 kB / 495.4 MB, free: 5.254 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002663/0.1694, allocations: 1.393 MB / 496.8 MB, free: 3.832 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002215/0.1696, allocations: 188.2 kB / 497 MB, free: 3.629 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.477e-05/0.1697, allocations: 8 kB / 497 MB, free: 3.621 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005295/0.1702, allocations: 111.9 kB / 497.1 MB, free: 3.512 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/0.1704, allocations: 51.81 kB / 497.2 MB, free: 3.461 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.38e-05/0.1704, allocations: 12 kB / 497.2 MB, free: 3.449 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004384/0.1708, allocations: 395.1 kB / 497.6 MB, free: 3.07 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.1708, allocations: 0 / 497.6 MB, free: 3.07 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006743/0.1715, allocations: 184 kB / 497.7 MB, free: 2.891 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (der1.u,der2.u,limIntegrator1.y,limIntegrator2.y,PID1.I.y,PID1.D.x,PID2.I.y,PID2.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 (50): * Single equations (assignments): 50 * 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.002982/0.1745, allocations: 1.945 MB / 499.7 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002308/0.1768, allocations: 1.103 MB / 0.4891 GB, free: 15.81 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.1769, allocations: 0 / 0.4891 GB, free: 15.81 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008475/0.1777, allocations: 407.5 kB / 0.4894 GB, free: 15.41 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001043/0.1788, allocations: 178.8 kB / 0.4896 GB, free: 15.23 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008524/0.1873, allocations: 4.795 MB / 0.4943 GB, free: 10.34 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004479/0.1878, allocations: 0.9221 MB / 0.4952 GB, free: 9.391 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004245/0.1882, allocations: 97.34 kB / 0.4953 GB, free: 9.293 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003772/0.1886, allocations: 271.3 kB / 0.4956 GB, free: 9.027 MB / 382.1 MB Notification: Performance of SimCode: time 9.51e-07/0.1886, allocations: 0 / 0.4956 GB, free: 9.027 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2525/0.4411, allocations: 13.92 MB / 0.5091 GB, free: 47.12 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000274/0.4414, allocations: 176 kB / 0.5093 GB, free: 46.88 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.148/2.589, allocations: 0 / 0.5093 GB, free: 46.88 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Blocks_StrictLimiters_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Blocks_StrictLimiters.fmu > ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters_res.mat does not exist to compare? outputFormat=mat