Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput.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_InitialOutput,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_InitialOutput") translateModel(ModelicaTest.Blocks.Continuous_InitialOutput,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_InitialOutput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008823/0.0008823, allocations: 97.12 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001012/0.001012, allocations: 206.9 kB / 18.29 MB, free: 5.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.363/1.363, allocations: 227.7 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.1933/0.1933, allocations: 46.18 MB / 345.2 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003321/0.0003323, allocations: 8 kB / 419.5 MB, free: 19.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1185, allocations: 63.56 MB / 483.1 MB, free: 4.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialOutput): time 0.003767/0.1223, allocations: 3.005 MB / 486.1 MB, free: 1.156 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003154/0.1255, allocations: 1.564 MB / 487.6 MB, free: 15.59 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005562/0.1261, allocations: 19.88 kB / 487.7 MB, free: 15.57 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006404/0.1268, allocations: 107.2 kB / 487.8 MB, free: 15.46 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007699/0.1276, allocations: 155 kB / 487.9 MB, free: 15.31 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001489/0.1291, allocations: 0.4909 MB / 488.4 MB, free: 14.82 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001371/0.1304, allocations: 0.8927 MB / 489.3 MB, free: 13.93 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000442/0.1309, allocations: 214.4 kB / 489.5 MB, free: 13.7 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000647/0.1316, allocations: 294.5 kB / 489.8 MB, free: 13.41 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006477/0.1322, allocations: 362.1 kB / 490.2 MB, free: 13.06 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001764/0.1324, allocations: 24 kB / 490.2 MB, free: 13.04 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003847/0.1328, allocations: 151.7 kB / 490.3 MB, free: 12.89 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002708/0.1331, allocations: 147.3 kB / 490.5 MB, free: 12.74 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004203/0.1335, allocations: 319.5 kB / 490.8 MB, free: 12.42 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001039/0.1346, allocations: 0.8134 MB / 491.6 MB, free: 11.61 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.1346, allocations: 0 / 491.6 MB, free: 11.61 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1346, allocations: 0 / 491.6 MB, free: 11.61 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.005e-05/0.1346, allocations: 0 / 491.6 MB, free: 11.61 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.002545/0.1372, allocations: 1.063 MB / 492.7 MB, free: 10.49 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.1372, allocations: 13.95 kB / 492.7 MB, free: 10.48 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003776/0.1376, allocations: 99.89 kB / 492.8 MB, free: 10.38 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001048/0.1387, allocations: 0.5662 MB / 493.3 MB, free: 9.777 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.317e-05/0.1387, allocations: 41.36 kB / 493.4 MB, free: 9.738 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001231/0.1389, allocations: 56.22 kB / 493.4 MB, free: 9.684 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001273/0.1402, allocations: 0.6458 MB / 494.1 MB, free: 8.98 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.608e-05/0.1402, allocations: 3.938 kB / 494.1 MB, free: 8.977 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.86e-05/0.1403, allocations: 20 kB / 494.1 MB, free: 8.957 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.137e-05/0.1403, allocations: 8 kB / 494.1 MB, free: 8.949 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001215/0.1415, allocations: 0.4939 MB / 494.6 MB, free: 8.453 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003964/0.1455, allocations: 2.675 MB / 497.3 MB, free: 5.676 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001142/0.1466, allocations: 0.5435 MB / 497.8 MB, free: 5.109 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006379/0.1473, allocations: 290.9 kB / 498.1 MB, free: 4.816 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.639e-05/0.1474, allocations: 8.234 kB / 498.1 MB, free: 4.809 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.295e-05/0.1474, allocations: 42.73 kB / 498.2 MB, free: 4.758 MB / 366.1 MB Notification: Performance of pre-optimization done (n=45): time 2.395e-06/0.1474, allocations: 0 / 498.2 MB, free: 4.758 MB / 366.1 MB Notification: Performance of matching and sorting (n=46): time 0.0029/0.1503, allocations: 1.221 MB / 499.4 MB, free: 3.527 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.311e-05/0.1504, allocations: 158.2 kB / 499.5 MB, free: 3.336 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000974/0.1514, allocations: 0.6567 MB / 0.4885 GB, free: 2.668 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.469e-05/0.1515, allocations: 41.64 kB / 0.4885 GB, free: 2.621 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002737/0.1518, allocations: 352.8 kB / 0.4888 GB, free: 2.27 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001743/0.152, allocations: 189.3 kB / 0.489 GB, free: 2.082 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.348e-05/0.1521, allocations: 61.69 kB / 0.4891 GB, free: 2.016 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.1522, allocations: 337.9 kB / 0.4894 GB, free: 1.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000738/0.1529, allocations: 297.1 kB / 0.4897 GB, free: 1.391 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008049/0.1538, allocations: 468.2 kB / 0.4901 GB, free: 0.8672 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001549/0.1553, allocations: 0.762 MB / 0.4909 GB, free: 44 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.1553, allocations: 4 kB / 0.4909 GB, free: 40 kB / 366.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001969/0.1573, allocations: 0.8604 MB / 0.4917 GB, free: 15.17 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001508/0.1575, allocations: 233.9 kB / 0.4919 GB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/0.1575, allocations: 4 kB / 0.4919 GB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.456e-05/0.1575, allocations: 11.94 kB / 0.492 GB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009448/0.1585, allocations: 203.8 kB / 0.4922 GB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.086e-05/0.1585, allocations: 19.86 kB / 0.4922 GB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000646/0.1592, allocations: 99.53 kB / 0.4923 GB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.606e-05/0.1592, allocations: 20 kB / 0.4923 GB, free: 14.53 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.416e-06/0.1592, allocations: 4 kB / 0.4923 GB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001599/0.1608, allocations: 0.7409 MB / 0.493 GB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.1609, allocations: 12.11 kB / 0.493 GB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.1609, allocations: 8 kB / 0.493 GB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008347/0.1617, allocations: 191.8 kB / 0.4932 GB, free: 13.58 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.714e-05/0.1618, allocations: 15.92 kB / 0.4932 GB, free: 13.56 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006014/0.1624, allocations: 95.56 kB / 0.4933 GB, free: 13.47 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.316e-05/0.1624, allocations: 28 kB / 0.4933 GB, free: 13.44 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 (78): * Single equations (assignments): 77 * Array equations: 1 * 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.0003703/0.1628, allocations: 296.8 kB / 0.4936 GB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001869/0.163, allocations: 75.06 kB / 0.4937 GB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000218/0.1632, allocations: 94.89 kB / 0.4938 GB, free: 12.97 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.1632, allocations: 4 kB / 0.4938 GB, free: 12.97 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.1633, allocations: 0 / 0.4938 GB, free: 12.97 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.405e-06/0.1633, allocations: 4 kB / 0.4938 GB, free: 12.96 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002148/0.1654, allocations: 1.288 MB / 0.4951 GB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.1654, allocations: 0 / 0.4951 GB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000702/0.1661, allocations: 119.9 kB / 0.4952 GB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.164e-06/0.1662, allocations: 8 kB / 0.4952 GB, free: 11.49 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.559e-05/0.1662, allocations: 19.98 kB / 0.4952 GB, free: 11.47 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.987e-06/0.1662, allocations: 7.938 kB / 0.4952 GB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.1663, allocations: 0 / 0.4952 GB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002256/0.1685, allocations: 1.227 MB / 0.4964 GB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000298/0.1688, allocations: 200.2 kB / 0.4966 GB, free: 9.992 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001074/0.169, allocations: 15.94 kB / 0.4966 GB, free: 9.977 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006123/0.1696, allocations: 67.88 kB / 0.4967 GB, free: 9.91 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001257/0.1697, allocations: 39.94 kB / 0.4967 GB, free: 9.871 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.265e-05/0.1698, allocations: 16 kB / 0.4967 GB, free: 9.855 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007132/0.1705, allocations: 467 kB / 0.4972 GB, free: 9.402 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.1705, allocations: 0 / 0.4972 GB, free: 9.402 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009851/0.1715, allocations: 220 kB / 0.4974 GB, free: 9.188 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (46): * Single equations (assignments): 46 * 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.0003112/0.1718, allocations: 127.6 kB / 0.4975 GB, free: 9.051 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002479/0.1743, allocations: 1.064 MB / 0.4985 GB, free: 7.988 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.1743, allocations: 4.188 kB / 0.4986 GB, free: 7.984 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007266/0.175, allocations: 318.6 kB / 0.4989 GB, free: 7.676 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00131/0.1764, allocations: 176.9 kB / 0.499 GB, free: 7.504 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003232/0.1796, allocations: 1.845 MB / 0.5008 GB, free: 5.613 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005649/0.1802, allocations: 0.9542 MB / 0.5018 GB, free: 4.633 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006364/0.1808, allocations: 152.8 kB / 0.5019 GB, free: 4.48 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002019/0.1811, allocations: 47.42 kB / 0.5019 GB, free: 4.434 MB / 382.1 MB Notification: Performance of SimCode: time 6.71e-07/0.1811, allocations: 0 / 0.5019 GB, free: 4.434 MB / 382.1 MB Notification: Performance of Templates: time 0.202/0.3831, allocations: 7.595 MB / 0.5094 GB, free: 38.37 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/Continuous_InitialOutput/Continuous_InitialOutput.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches