Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_SteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Blocks.Continuous_SteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|criticalDamping.x.1.|criticalDamping.x.2.|derivative.x|firstOrder.y|integrator.y|limIntegrator.y|limPID.D.x|limPID.I.y|lowpassButterworth.x1.1.|lowpassButterworth.x2.1.|pI.x|pID.D.x|pID.I.y|secondOrder.y|secondOrder.yd|stateSpace.x.1.|stateSpace.x.2.|transferFunction.x_scaled.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_SteadyState") translateModel(ModelicaTest.Blocks.Continuous_SteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|criticalDamping.x.1.|criticalDamping.x.2.|derivative.x|firstOrder.y|integrator.y|limIntegrator.y|limPID.D.x|limPID.I.y|lowpassButterworth.x1.1.|lowpassButterworth.x2.1.|pI.x|pID.D.x|pID.I.y|secondOrder.y|secondOrder.yd|stateSpace.x.1.|stateSpace.x.2.|transferFunction.x_scaled.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_SteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009849/0.0009849, allocations: 96.81 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000949/0.0009491, allocations: 201 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.375/1.375, allocations: 227.8 MB / 246.8 MB, free: 11.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2474/0.2474, allocations: 46.18 MB / 345.2 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003051/0.0003049, allocations: 8 kB / 419.5 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1335, allocations: 63.56 MB / 483.1 MB, free: 4.164 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_SteadyState): time 0.004207/0.1377, allocations: 2.978 MB / 486.1 MB, free: 1.168 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003094/0.1409, allocations: 1.564 MB / 487.6 MB, free: 15.6 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003545/0.1412, allocations: 23.88 kB / 487.6 MB, free: 15.57 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004953/0.1417, allocations: 103.2 kB / 487.7 MB, free: 15.47 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004315/0.1422, allocations: 158.7 kB / 487.9 MB, free: 15.32 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001171/0.1434, allocations: 0.4948 MB / 488.4 MB, free: 14.83 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008867/0.1443, allocations: 0.8381 MB / 489.2 MB, free: 13.99 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004001/0.1447, allocations: 218.4 kB / 489.4 MB, free: 13.76 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004545/0.1451, allocations: 302.4 kB / 489.7 MB, free: 13.46 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004505/0.1456, allocations: 342.2 kB / 490.1 MB, free: 13.13 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.408e-05/0.1457, allocations: 20 kB / 490.1 MB, free: 13.11 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001007/0.1458, allocations: 31.98 kB / 490.1 MB, free: 13.08 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001791/0.146, allocations: 159.3 kB / 490.3 MB, free: 12.92 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002581/0.1462, allocations: 307.5 kB / 490.6 MB, free: 12.61 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000589/0.1468, allocations: 0.6847 MB / 491.3 MB, free: 11.93 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.1468, allocations: 4 kB / 491.3 MB, free: 11.92 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1469, allocations: 0 / 491.3 MB, free: 11.92 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.916e-06/0.1469, allocations: 0 / 491.3 MB, free: 11.92 MB / 366.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.002155/0.149, allocations: 1.047 MB / 492.3 MB, free: 10.82 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/0.1491, allocations: 9.953 kB / 492.3 MB, free: 10.82 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000255/0.1494, allocations: 99.89 kB / 492.4 MB, free: 10.72 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008733/0.1502, allocations: 0.5623 MB / 493 MB, free: 10.12 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.527e-05/0.1503, allocations: 37.38 kB / 493 MB, free: 10.08 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001039/0.1504, allocations: 60.28 kB / 493.1 MB, free: 10.02 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001157/0.1516, allocations: 0.638 MB / 493.7 MB, free: 9.328 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.265e-05/0.1516, allocations: 4 kB / 493.7 MB, free: 9.324 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.289e-05/0.1517, allocations: 20 kB / 493.7 MB, free: 9.305 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.538e-05/0.1517, allocations: 12 kB / 493.8 MB, free: 9.293 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001118/0.1528, allocations: 0.4938 MB / 494.3 MB, free: 8.797 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003516/0.1563, allocations: 2.655 MB / 496.9 MB, free: 6.043 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001188/0.1575, allocations: 0.5768 MB / 497.5 MB, free: 5.441 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005846/0.1581, allocations: 278.4 kB / 497.8 MB, free: 5.16 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.158e-05/0.1582, allocations: 4 kB / 497.8 MB, free: 5.156 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.77e-05/0.1582, allocations: 42.59 kB / 497.8 MB, free: 5.105 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 1.663e-06/0.1582, allocations: 0 / 497.8 MB, free: 5.105 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002618/0.1609, allocations: 1.207 MB / 499 MB, free: 3.887 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.892e-05/0.161, allocations: 158.2 kB / 499.2 MB, free: 3.695 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000894/0.1619, allocations: 0.6645 MB / 499.8 MB, free: 3.02 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.486e-05/0.1619, allocations: 41.64 kB / 499.9 MB, free: 2.973 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002926/0.1622, allocations: 364 kB / 0.4885 GB, free: 2.609 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001536/0.1624, allocations: 169.5 kB / 0.4887 GB, free: 2.441 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.179e-05/0.1625, allocations: 61.69 kB / 0.4887 GB, free: 2.375 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.1626, allocations: 333.9 kB / 0.489 GB, free: 2.043 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006361/0.1633, allocations: 285.1 kB / 0.4893 GB, free: 1.766 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007704/0.1641, allocations: 449.5 kB / 0.4897 GB, free: 1.254 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00146/0.1655, allocations: 0.7131 MB / 0.4904 GB, free: 492 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.1655, allocations: 4 kB / 0.4904 GB, free: 488 kB / 366.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001805/0.1674, allocations: 0.862 MB / 0.4913 GB, free: 15.61 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001867/0.1676, allocations: 233.1 kB / 0.4915 GB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.1676, allocations: 4 kB / 0.4915 GB, free: 15.31 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002582/0.1678, allocations: 60.81 kB / 0.4916 GB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00089/0.1687, allocations: 203.8 kB / 0.4918 GB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001363/0.1701, allocations: 1.503 MB / 0.4932 GB, free: 13.42 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005251/0.1707, allocations: 91.78 kB / 0.4933 GB, free: 13.33 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.164e-05/0.1707, allocations: 24 kB / 0.4933 GB, free: 13.3 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.023e-06/0.1707, allocations: 10.59 kB / 0.4933 GB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001473/0.1722, allocations: 0.742 MB / 0.4941 GB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.1722, allocations: 4 kB / 0.4941 GB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001416/0.1724, allocations: 56.81 kB / 0.4941 GB, free: 12.49 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008036/0.1732, allocations: 208.2 kB / 0.4943 GB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001233/0.1744, allocations: 1.487 MB / 0.4958 GB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005285/0.175, allocations: 95.69 kB / 0.4959 GB, free: 10.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.88e-05/0.175, allocations: 20 kB / 0.4959 GB, free: 10.55 MB / 382.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 (76): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003765/0.1754, allocations: 297 kB / 0.4962 GB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001606/0.1756, allocations: 75.06 kB / 0.4962 GB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001881/0.1758, allocations: 86.22 kB / 0.4963 GB, free: 10.08 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/0.1758, allocations: 12 kB / 0.4963 GB, free: 10.07 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.1758, allocations: 0 / 0.4963 GB, free: 10.07 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.198e-06/0.1758, allocations: 3.984 kB / 0.4963 GB, free: 10.07 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001322/0.1771, allocations: 0.857 MB / 0.4972 GB, free: 9.152 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.1771, allocations: 0 / 0.4972 GB, free: 9.152 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000646/0.1778, allocations: 115.9 kB / 0.4973 GB, free: 9.039 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.1778, allocations: 4 kB / 0.4973 GB, free: 9.035 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.898e-05/0.1779, allocations: 19.98 kB / 0.4973 GB, free: 9.016 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.554e-06/0.1779, allocations: 0 / 0.4973 GB, free: 9.016 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.1779, allocations: 3.938 kB / 0.4973 GB, free: 9.012 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002055/0.1799, allocations: 1.207 MB / 0.4985 GB, free: 7.785 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002229/0.1802, allocations: 196.2 kB / 0.4987 GB, free: 7.574 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.944e-05/0.1803, allocations: 19.98 kB / 0.4987 GB, free: 7.555 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005423/0.1808, allocations: 59.94 kB / 0.4988 GB, free: 7.496 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/0.1809, allocations: 43.94 kB / 0.4988 GB, free: 7.453 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.563e-05/0.181, allocations: 15.97 kB / 0.4988 GB, free: 7.438 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006281/0.1816, allocations: 459 kB / 0.4993 GB, free: 6.992 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.1816, allocations: 0 / 0.4993 GB, free: 6.992 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007806/0.1824, allocations: 196 kB / 0.4994 GB, free: 6.801 MB / 382.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000173/0.1826, allocations: 115.6 kB / 0.4996 GB, free: 6.68 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002583/0.1852, allocations: 1.257 MB / 0.5008 GB, free: 5.398 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.1852, allocations: 0 / 0.5008 GB, free: 5.398 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006536/0.1859, allocations: 310.7 kB / 0.5011 GB, free: 5.098 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00113/0.187, allocations: 173.3 kB / 0.5012 GB, free: 4.934 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002883/0.1899, allocations: 1.835 MB / 0.503 GB, free: 3.059 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005043/0.1904, allocations: 0.9536 MB / 0.504 GB, free: 2.078 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004683/0.1909, allocations: 136.8 kB / 0.5041 GB, free: 1.941 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001717/0.1911, allocations: 47.42 kB / 0.5041 GB, free: 1.895 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1911, allocations: 0 / 0.5041 GB, free: 1.895 MB / 382.1 MB Notification: Performance of Templates: time 0.2445/0.4356, allocations: 7.526 MB / 0.5115 GB, free: 38.13 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_SteadyState.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_SteadyState.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_SteadyState.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_SteadyState.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_SteadyState.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_SteadyState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_SteadyState.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_SteadyState_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/Continuous_SteadyState/Continuous_SteadyState.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_SteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches