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.0007068/0.0007069, allocations: 97.12 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.0009456/0.0009456, allocations: 206.3 kB / 18.29 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.232/1.232, allocations: 227.7 MB / 246.8 MB, free: 11.32 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1745/0.1745, allocations: 46.19 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002329/0.0002326, allocations: 8 kB / 419.5 MB, free: 19.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08491/0.08515, allocations: 63.55 MB / 483.1 MB, free: 4.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_SteadyState): time 0.003013/0.08818, allocations: 2.974 MB / 486 MB, free: 1.188 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002452/0.09065, allocations: 1.567 MB / 487.6 MB, free: 15.61 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000302/0.09096, allocations: 23.88 kB / 487.6 MB, free: 15.59 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003845/0.09136, allocations: 103.2 kB / 487.7 MB, free: 15.49 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004306/0.0918, allocations: 159 kB / 487.9 MB, free: 15.33 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009978/0.09281, allocations: 0.4909 MB / 488.4 MB, free: 14.84 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008138/0.09363, allocations: 0.8381 MB / 489.2 MB, free: 14 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00033/0.09397, allocations: 222.4 kB / 489.4 MB, free: 13.77 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003892/0.09437, allocations: 298.4 kB / 489.7 MB, free: 13.48 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003934/0.09478, allocations: 350.1 kB / 490.1 MB, free: 13.14 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.849e-05/0.09485, allocations: 20 kB / 490.1 MB, free: 13.12 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.186e-05/0.09493, allocations: 28 kB / 490.1 MB, free: 13.09 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001548/0.09509, allocations: 155.3 kB / 490.3 MB, free: 12.94 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002219/0.09532, allocations: 315.5 kB / 490.6 MB, free: 12.62 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005234/0.09585, allocations: 0.6769 MB / 491.2 MB, free: 11.94 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.09587, allocations: 4 kB / 491.2 MB, free: 11.94 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.92e-07/0.09587, allocations: 0 / 491.2 MB, free: 11.94 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.354e-06/0.09589, allocations: 0 / 491.2 MB, free: 11.94 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.001906/0.0978, allocations: 1.047 MB / 492.3 MB, free: 10.84 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.964e-05/0.09783, allocations: 9.953 kB / 492.3 MB, free: 10.83 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002163/0.09806, allocations: 103.9 kB / 492.4 MB, free: 10.73 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007599/0.09883, allocations: 0.5623 MB / 493 MB, free: 10.13 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.552e-05/0.09887, allocations: 41.38 kB / 493 MB, free: 10.09 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.229e-05/0.09897, allocations: 60.28 kB / 493.1 MB, free: 10.03 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001083/0.1001, allocations: 0.6341 MB / 493.7 MB, free: 9.34 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.674e-05/0.1001, allocations: 4 kB / 493.7 MB, free: 9.336 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.232e-05/0.1001, allocations: 24 kB / 493.7 MB, free: 9.312 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.335e-05/0.1002, allocations: 15.94 kB / 493.7 MB, free: 9.297 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001098/0.1013, allocations: 0.49 MB / 494.2 MB, free: 8.805 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003158/0.1044, allocations: 2.651 MB / 496.9 MB, free: 6.055 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001119/0.1056, allocations: 0.5801 MB / 497.5 MB, free: 5.449 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005747/0.1062, allocations: 274.4 kB / 497.7 MB, free: 5.172 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.646e-05/0.1062, allocations: 7.984 kB / 497.7 MB, free: 5.164 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.927e-05/0.1062, allocations: 50.58 kB / 497.8 MB, free: 5.105 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 1.613e-06/0.1062, allocations: 0 / 497.8 MB, free: 5.105 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002439/0.1087, allocations: 1.206 MB / 499 MB, free: 3.887 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.627e-05/0.1088, allocations: 158.2 kB / 499.1 MB, free: 3.695 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008145/0.1096, allocations: 0.6645 MB / 499.8 MB, free: 3.02 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.542e-05/0.1096, allocations: 37.7 kB / 499.9 MB, free: 2.977 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002594/0.1099, allocations: 364 kB / 0.4885 GB, free: 2.613 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001372/0.1101, allocations: 169.5 kB / 0.4886 GB, free: 2.445 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.515e-05/0.1102, allocations: 61.69 kB / 0.4887 GB, free: 2.379 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.1103, allocations: 333.9 kB / 0.489 GB, free: 2.047 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006575/0.1109, allocations: 277.1 kB / 0.4893 GB, free: 1.777 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007622/0.1117, allocations: 452.9 kB / 0.4897 GB, free: 1.266 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001369/0.1131, allocations: 0.7171 MB / 0.4904 GB, free: 500 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.1131, allocations: 4 kB / 0.4904 GB, free: 496 kB / 366.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001747/0.1149, allocations: 0.8623 MB / 0.4913 GB, free: 15.61 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001204/0.115, allocations: 232.8 kB / 0.4915 GB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.866e-06/0.115, allocations: 4 kB / 0.4915 GB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001963/0.1152, allocations: 60.81 kB / 0.4915 GB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008855/0.1161, allocations: 207.7 kB / 0.4917 GB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001205/0.1173, allocations: 1.491 MB / 0.4932 GB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000541/0.1179, allocations: 87.77 kB / 0.4933 GB, free: 13.35 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.431e-05/0.1179, allocations: 31.92 kB / 0.4933 GB, free: 13.32 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.49e-06/0.1179, allocations: 4 kB / 0.4933 GB, free: 13.31 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001513/0.1195, allocations: 0.7421 MB / 0.494 GB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.1195, allocations: 4 kB / 0.494 GB, free: 12.56 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001404/0.1196, allocations: 56.81 kB / 0.4941 GB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008321/0.1205, allocations: 204 kB / 0.4943 GB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001136/0.1216, allocations: 1.491 MB / 0.4958 GB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005097/0.1221, allocations: 91.62 kB / 0.4958 GB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.934e-05/0.1222, allocations: 24.05 kB / 0.4959 GB, free: 10.57 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.000279/0.1225, allocations: 293.1 kB / 0.4961 GB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001385/0.1226, allocations: 79.05 kB / 0.4962 GB, free: 10.19 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001793/0.1228, allocations: 86.22 kB / 0.4963 GB, free: 10.1 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.1228, allocations: 4 kB / 0.4963 GB, free: 10.09 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.1228, allocations: 4 kB / 0.4963 GB, free: 10.09 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/0.1228, allocations: 7.922 kB / 0.4963 GB, free: 10.08 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001186/0.124, allocations: 0.8609 MB / 0.4972 GB, free: 9.164 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.716e-06/0.124, allocations: 0 / 0.4972 GB, free: 9.164 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006505/0.1247, allocations: 115.9 kB / 0.4973 GB, free: 9.051 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.1247, allocations: 4 kB / 0.4973 GB, free: 9.047 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.321e-05/0.1248, allocations: 15.98 kB / 0.4973 GB, free: 9.031 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.1248, allocations: 7.984 kB / 0.4973 GB, free: 9.023 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.1248, allocations: 3.938 kB / 0.4973 GB, free: 9.02 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002026/0.1268, allocations: 1.212 MB / 0.4985 GB, free: 7.793 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002105/0.127, allocations: 192.2 kB / 0.4987 GB, free: 7.586 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.937e-05/0.1271, allocations: 19.98 kB / 0.4987 GB, free: 7.566 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005683/0.1277, allocations: 55.95 kB / 0.4987 GB, free: 7.512 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/0.1278, allocations: 43.88 kB / 0.4988 GB, free: 7.469 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.079e-05/0.1279, allocations: 15.98 kB / 0.4988 GB, free: 7.453 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006093/0.1285, allocations: 463 kB / 0.4992 GB, free: 7.004 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1285, allocations: 0 / 0.4992 GB, free: 7.004 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007228/0.1292, allocations: 196 kB / 0.4994 GB, free: 6.812 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.0001195/0.1293, allocations: 111.6 kB / 0.4995 GB, free: 6.695 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002497/0.1318, allocations: 1.257 MB / 0.5008 GB, free: 5.414 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.1319, allocations: 3.938 kB / 0.5008 GB, free: 5.41 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006557/0.1325, allocations: 299.7 kB / 0.501 GB, free: 5.117 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001082/0.1336, allocations: 188.2 kB / 0.5012 GB, free: 4.941 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002711/0.1363, allocations: 1.827 MB / 0.503 GB, free: 3.074 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000476/0.1368, allocations: 0.9614 MB / 0.5039 GB, free: 2.086 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004417/0.1373, allocations: 132.8 kB / 0.5041 GB, free: 1.953 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001641/0.1374, allocations: 43.44 kB / 0.5041 GB, free: 1.91 MB / 382.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1374, allocations: 0 / 0.5041 GB, free: 1.91 MB / 382.1 MB Notification: Performance of Templates: time 0.1558/0.2932, allocations: 7.534 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