Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialState.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_InitialState,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_InitialState") translateModel(ModelicaTest.Blocks.Continuous_InitialState,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_InitialState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008556/0.0008558, allocations: 91.53 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008688/0.0008689, allocations: 196.4 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.376/1.376, allocations: 227.8 MB / 246.8 MB, free: 9.758 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2144/0.2144, allocations: 46.19 MB / 345.2 MB, free: 11.18 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003063/0.0003063, allocations: 11.98 kB / 419.5 MB, free: 19.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1277, allocations: 63.55 MB / 483.1 MB, free: 4.137 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialState): time 0.003576/0.1314, allocations: 2.978 MB / 486.1 MB, free: 1.141 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00298/0.1344, allocations: 1.57 MB / 487.6 MB, free: 15.57 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000346/0.1347, allocations: 19.88 kB / 487.6 MB, free: 15.55 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004721/0.1352, allocations: 111.2 kB / 487.8 MB, free: 15.44 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004209/0.1357, allocations: 155 kB / 487.9 MB, free: 15.29 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001156/0.1368, allocations: 0.4985 MB / 488.4 MB, free: 14.79 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009048/0.1377, allocations: 0.8498 MB / 489.3 MB, free: 13.94 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003866/0.1381, allocations: 218.4 kB / 489.5 MB, free: 13.71 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004544/0.1386, allocations: 298.4 kB / 489.8 MB, free: 13.42 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004528/0.1391, allocations: 350.1 kB / 490.1 MB, free: 13.07 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.673e-05/0.1391, allocations: 24 kB / 490.1 MB, free: 13.05 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.493e-05/0.1392, allocations: 28 kB / 490.2 MB, free: 13.02 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001836/0.1394, allocations: 151.3 kB / 490.3 MB, free: 12.88 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002759/0.1397, allocations: 311.5 kB / 490.6 MB, free: 12.56 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006337/0.1404, allocations: 0.6886 MB / 491.3 MB, free: 11.87 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1404, allocations: 0 / 491.3 MB, free: 11.87 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1404, allocations: 0 / 491.3 MB, free: 11.87 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.197e-06/0.1404, allocations: 4 kB / 491.3 MB, free: 11.87 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.002106/0.1425, allocations: 1.058 MB / 492.4 MB, free: 10.76 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.1426, allocations: 9.953 kB / 492.4 MB, free: 10.75 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002498/0.1428, allocations: 99.89 kB / 492.5 MB, free: 10.66 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008564/0.1437, allocations: 0.5584 MB / 493 MB, free: 10.06 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.231e-05/0.1437, allocations: 37.38 kB / 493.1 MB, free: 10.02 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.532e-05/0.1438, allocations: 60.28 kB / 493.1 MB, free: 9.965 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00116/0.145, allocations: 0.638 MB / 493.8 MB, free: 9.27 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.06e-05/0.145, allocations: 4 kB / 493.8 MB, free: 9.266 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.917e-05/0.1451, allocations: 20 kB / 493.8 MB, free: 9.246 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.438e-05/0.1451, allocations: 12 kB / 493.8 MB, free: 9.234 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001107/0.1462, allocations: 0.4938 MB / 494.3 MB, free: 8.738 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003704/0.1499, allocations: 2.698 MB / 497 MB, free: 5.941 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001163/0.1511, allocations: 0.5742 MB / 497.6 MB, free: 5.34 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005922/0.1517, allocations: 274.4 kB / 497.8 MB, free: 5.062 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.575e-05/0.1518, allocations: 8 kB / 497.8 MB, free: 5.055 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/0.1518, allocations: 34.56 kB / 497.9 MB, free: 5.012 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 2.575e-06/0.1518, allocations: 4 kB / 497.9 MB, free: 5.008 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002651/0.1545, allocations: 1.21 MB / 499.1 MB, free: 3.785 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/0.1546, allocations: 162.2 kB / 499.2 MB, free: 3.59 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008989/0.1555, allocations: 0.6606 MB / 499.9 MB, free: 2.918 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.888e-05/0.1556, allocations: 33.7 kB / 499.9 MB, free: 2.879 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003084/0.1559, allocations: 360 kB / 0.4886 GB, free: 2.52 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001665/0.1561, allocations: 169.5 kB / 0.4887 GB, free: 2.352 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001024/0.1562, allocations: 61.69 kB / 0.4888 GB, free: 2.285 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.1563, allocations: 337.9 kB / 0.4891 GB, free: 1.949 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006742/0.157, allocations: 289.1 kB / 0.4894 GB, free: 1.668 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008024/0.1578, allocations: 460.5 kB / 0.4898 GB, free: 1.148 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001466/0.1593, allocations: 0.7209 MB / 0.4905 GB, free: 376 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/0.1593, allocations: 4 kB / 0.4905 GB, free: 372 kB / 366.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001906/0.1612, allocations: 0.8388 MB / 0.4913 GB, free: 15.52 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001906/0.1614, allocations: 226 kB / 0.4916 GB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.1615, allocations: 4 kB / 0.4916 GB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.796e-05/0.1615, allocations: 15.94 kB / 0.4916 GB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007235/0.1622, allocations: 167.7 kB / 0.4917 GB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.396e-05/0.1622, allocations: 4 kB / 0.4917 GB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006189/0.1629, allocations: 95.62 kB / 0.4918 GB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.554e-05/0.1629, allocations: 24 kB / 0.4919 GB, free: 14.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.857e-06/0.1629, allocations: 7.938 kB / 0.4919 GB, free: 14.92 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001589/0.1645, allocations: 0.7211 MB / 0.4926 GB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.1646, allocations: 4 kB / 0.4926 GB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.1646, allocations: 8 kB / 0.4926 GB, free: 14.19 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006092/0.1652, allocations: 160.3 kB / 0.4927 GB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.1652, allocations: 7.984 kB / 0.4927 GB, free: 14.03 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006238/0.1658, allocations: 87.62 kB / 0.4928 GB, free: 13.94 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.105e-05/0.1659, allocations: 20 kB / 0.4928 GB, free: 13.92 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 (77): * Single equations (assignments): 77 * 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 prepare postOptimizeDAE: time 0.0004469/0.1664, allocations: 301 kB / 0.4931 GB, free: 13.62 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001707/0.1665, allocations: 75.06 kB / 0.4932 GB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002186/0.1668, allocations: 82.22 kB / 0.4933 GB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/0.1668, allocations: 8 kB / 0.4933 GB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.125e-05/0.1668, allocations: 0 / 0.4933 GB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.345e-06/0.1668, allocations: 7.984 kB / 0.4933 GB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001559/0.1684, allocations: 0.8609 MB / 0.4941 GB, free: 12.53 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.1684, allocations: 96 / 0.4941 GB, free: 12.53 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006515/0.169, allocations: 119.9 kB / 0.4942 GB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.785e-06/0.1691, allocations: 3.984 kB / 0.4943 GB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.819e-05/0.1691, allocations: 19.98 kB / 0.4943 GB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.1691, allocations: 3.938 kB / 0.4943 GB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.1691, allocations: 4 kB / 0.4943 GB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002173/0.1713, allocations: 1.203 MB / 0.4955 GB, free: 11.15 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000249/0.1716, allocations: 192.2 kB / 0.4956 GB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.724e-05/0.1717, allocations: 23.92 kB / 0.4957 GB, free: 10.92 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005593/0.1722, allocations: 63.88 kB / 0.4957 GB, free: 10.86 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/0.1724, allocations: 31.95 kB / 0.4957 GB, free: 10.83 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.187e-05/0.1724, allocations: 19.98 kB / 0.4958 GB, free: 10.81 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000663/0.1731, allocations: 463 kB / 0.4962 GB, free: 10.36 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1731, allocations: 0 / 0.4962 GB, free: 10.36 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000805/0.1739, allocations: 188 kB / 0.4964 GB, free: 10.18 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.0001663/0.1741, allocations: 119.6 kB / 0.4965 GB, free: 10.05 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002221/0.1763, allocations: 1.023 MB / 0.4975 GB, free: 9.031 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/0.1763, allocations: 0 / 0.4975 GB, free: 9.031 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006494/0.177, allocations: 299.8 kB / 0.4978 GB, free: 8.738 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001196/0.1782, allocations: 175.3 kB / 0.498 GB, free: 8.57 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003341/0.1815, allocations: 1.842 MB / 0.4998 GB, free: 6.691 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005431/0.1821, allocations: 0.9459 MB / 0.5007 GB, free: 5.719 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005133/0.1826, allocations: 156.7 kB / 0.5008 GB, free: 5.562 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001581/0.1828, allocations: 39.44 kB / 0.5009 GB, free: 5.523 MB / 382.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1828, allocations: 0 / 0.5009 GB, free: 5.523 MB / 382.1 MB Notification: Performance of Templates: time 0.2268/0.4096, allocations: 6.72 MB / 0.5074 GB, free: 39.4 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialState.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialState.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialState.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialState.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialState.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialState.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialState_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/Continuous_InitialState/Continuous_InitialState.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches