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.0009883/0.0009883, allocations: 97.73 kB / 18.01 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001475/0.001475, allocations: 204.8 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.328/1.328, allocations: 227.7 MB / 247.5 MB, free: 11.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1897/0.1897, allocations: 46.18 MB / 345.9 MB, free: 11.35 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002564/0.0002563, allocations: 8 kB / 420.2 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09868/0.09895, allocations: 63.56 MB / 483.7 MB, free: 4.145 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_SteadyState): time 0.00332/0.1023, allocations: 2.978 MB / 486.7 MB, free: 1.148 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00274/0.1051, allocations: 1.567 MB / 488.3 MB, free: 15.57 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003873/0.1055, allocations: 19.88 kB / 488.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004406/0.1059, allocations: 107.2 kB / 488.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004852/0.1064, allocations: 151.1 kB / 488.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001145/0.1076, allocations: 0.5022 MB / 489 MB, free: 14.8 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009575/0.1086, allocations: 0.8342 MB / 489.9 MB, free: 13.97 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003694/0.1089, allocations: 222.4 kB / 490.1 MB, free: 13.74 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004684/0.1094, allocations: 294.4 kB / 490.4 MB, free: 13.45 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004723/0.1099, allocations: 346.1 kB / 490.7 MB, free: 13.11 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.566e-05/0.11, allocations: 28 kB / 490.8 MB, free: 13.08 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.901e-05/0.1101, allocations: 24 kB / 490.8 MB, free: 13.06 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001719/0.1103, allocations: 163.3 kB / 490.9 MB, free: 12.9 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002581/0.1105, allocations: 307.6 kB / 491.2 MB, free: 12.59 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000468/0.111, allocations: 0.5261 MB / 491.8 MB, free: 12.06 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.111, allocations: 0 / 491.8 MB, free: 12.06 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.111, allocations: 0 / 491.8 MB, free: 12.06 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.493e-05/0.1111, allocations: 0 / 491.8 MB, free: 12.06 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.002095/0.1132, allocations: 1.055 MB / 492.8 MB, free: 10.96 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.1132, allocations: 9.953 kB / 492.8 MB, free: 10.95 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002562/0.1135, allocations: 107.9 kB / 492.9 MB, free: 10.84 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008279/0.1143, allocations: 0.5545 MB / 493.5 MB, free: 10.25 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.828e-05/0.1144, allocations: 37.38 kB / 493.5 MB, free: 10.21 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001046/0.1145, allocations: 60.27 kB / 493.6 MB, free: 10.16 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001141/0.1156, allocations: 0.638 MB / 494.2 MB, free: 9.461 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.158e-05/0.1157, allocations: 7.984 kB / 494.2 MB, free: 9.453 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.039e-05/0.1157, allocations: 16 kB / 494.2 MB, free: 9.438 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.785e-05/0.1157, allocations: 19.94 kB / 494.3 MB, free: 9.418 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001145/0.1169, allocations: 0.49 MB / 494.8 MB, free: 8.926 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003473/0.1204, allocations: 2.651 MB / 497.4 MB, free: 6.176 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001169/0.1215, allocations: 0.5819 MB / 498 MB, free: 5.566 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006815/0.1222, allocations: 270.4 kB / 498.2 MB, free: 5.293 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.863e-05/0.1223, allocations: 8 kB / 498.3 MB, free: 5.285 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/0.1223, allocations: 38.56 kB / 498.3 MB, free: 5.238 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 1.803e-06/0.1223, allocations: 4 kB / 498.3 MB, free: 5.234 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002646/0.125, allocations: 1.214 MB / 499.5 MB, free: 4.008 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.834e-05/0.1251, allocations: 162.2 kB / 499.7 MB, free: 3.812 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008561/0.126, allocations: 0.6528 MB / 0.4886 GB, free: 3.148 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.924e-05/0.126, allocations: 33.7 kB / 0.4886 GB, free: 3.109 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002688/0.1263, allocations: 364 kB / 0.489 GB, free: 2.746 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001352/0.1264, allocations: 169.5 kB / 0.4891 GB, free: 2.578 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.622e-05/0.1265, allocations: 69.69 kB / 0.4892 GB, free: 2.504 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.1267, allocations: 337.8 kB / 0.4895 GB, free: 2.168 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006683/0.1273, allocations: 281.1 kB / 0.4898 GB, free: 1.895 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007859/0.1281, allocations: 445.5 kB / 0.4902 GB, free: 1.387 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001384/0.1295, allocations: 0.721 MB / 0.4909 GB, free: 0.6055 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.1295, allocations: 0 / 0.4909 GB, free: 0.6055 MB / 366.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001827/0.1314, allocations: 0.8581 MB / 0.4918 GB, free: 15.73 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001393/0.1315, allocations: 233.1 kB / 0.492 GB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.477e-06/0.1315, allocations: 4.047 kB / 0.492 GB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002151/0.1318, allocations: 60.8 kB / 0.492 GB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008902/0.1327, allocations: 211.7 kB / 0.4922 GB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001309/0.134, allocations: 1.491 MB / 0.4937 GB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005786/0.1346, allocations: 91.72 kB / 0.4938 GB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.672e-05/0.1346, allocations: 23.94 kB / 0.4938 GB, free: 13.44 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.603e-06/0.1346, allocations: 4 kB / 0.4938 GB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001541/0.1362, allocations: 0.7424 MB / 0.4945 GB, free: 12.69 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.1362, allocations: 4 kB / 0.4945 GB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001481/0.1364, allocations: 60.81 kB / 0.4946 GB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008201/0.1372, allocations: 203.8 kB / 0.4948 GB, free: 12.42 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001142/0.1383, allocations: 1.499 MB / 0.4963 GB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005426/0.1389, allocations: 83.55 kB / 0.4963 GB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.323e-05/0.139, allocations: 23.98 kB / 0.4964 GB, free: 10.69 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.0003476/0.1393, allocations: 297.2 kB / 0.4966 GB, free: 10.39 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000148/0.1395, allocations: 75.06 kB / 0.4967 GB, free: 10.31 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000188/0.1397, allocations: 86.2 kB / 0.4968 GB, free: 10.22 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.126e-06/0.1397, allocations: 8 kB / 0.4968 GB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.1397, allocations: 0 / 0.4968 GB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/0.1397, allocations: 3.984 kB / 0.4968 GB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001269/0.141, allocations: 0.8648 MB / 0.4977 GB, free: 9.285 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.141, allocations: 0 / 0.4977 GB, free: 9.285 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006677/0.1417, allocations: 119.9 kB / 0.4978 GB, free: 9.168 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.1417, allocations: 0 / 0.4978 GB, free: 9.168 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.887e-05/0.1417, allocations: 19.94 kB / 0.4978 GB, free: 9.148 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.758e-06/0.1417, allocations: 3.984 kB / 0.4978 GB, free: 9.145 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.1418, allocations: 7.938 kB / 0.4978 GB, free: 9.137 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002124/0.1439, allocations: 1.21 MB / 0.499 GB, free: 7.91 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002125/0.1441, allocations: 192.2 kB / 0.4992 GB, free: 7.703 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.349e-05/0.1442, allocations: 12 kB / 0.4992 GB, free: 7.691 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000569/0.1448, allocations: 63.94 kB / 0.4992 GB, free: 7.629 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/0.1449, allocations: 39.88 kB / 0.4993 GB, free: 7.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-05/0.1449, allocations: 12 kB / 0.4993 GB, free: 7.578 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006332/0.1456, allocations: 471 kB / 0.4997 GB, free: 7.121 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1456, allocations: 0 / 0.4997 GB, free: 7.121 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007613/0.1463, allocations: 192 kB / 0.4999 GB, free: 6.934 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.0001278/0.1465, allocations: 112.5 kB / 0.5 GB, free: 6.816 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00261/0.1491, allocations: 1.253 MB / 0.5013 GB, free: 5.539 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1491, allocations: 3.938 kB / 0.5013 GB, free: 5.535 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006658/0.1498, allocations: 303.7 kB / 0.5015 GB, free: 5.238 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001138/0.1509, allocations: 188 kB / 0.5017 GB, free: 5.062 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002953/0.1539, allocations: 1.872 MB / 0.5036 GB, free: 3.145 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005152/0.1544, allocations: 0.9614 MB / 0.5045 GB, free: 2.156 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002167/0.1547, allocations: 43.44 kB / 0.5045 GB, free: 2.113 MB / 382.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1547, allocations: 4 kB / 0.5045 GB, free: 2.109 MB / 382.1 MB Notification: Performance of Templates: time 0.1914/0.346, allocations: 9.93 MB / 0.5142 GB, free: 36.83 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/Continuous_SteadyState/Continuous_SteadyState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_SteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches