Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.Continuous,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_3.2.3_ModelicaTest.Blocks.Continuous") translateModel(ModelicaTest.Blocks.Continuous,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_3.2.3_ModelicaTest.Blocks.Continuous") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 112.3 kB / 17.08 MB, free: 5.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 190.2 kB / 18.01 MB, free: 5.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.261/1.261, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2221/0.2221, allocations: 43.53 MB / 314.8 MB, free: 456 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001573/0.001573, allocations: 77.28 kB / 442.5 MB, free: 5.656 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09983/0.1014, allocations: 57.78 MB / 0.4885 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous): time 0.004545/0.106, allocations: 3.352 MB / 0.4918 GB, free: 8.434 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003093/0.1091, allocations: 1.59 MB / 0.4934 GB, free: 6.832 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000513/0.1097, allocations: 23.81 kB / 0.4934 GB, free: 6.809 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005956/0.1103, allocations: 138.8 kB / 0.4935 GB, free: 6.672 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006751/0.111, allocations: 206.5 kB / 0.4937 GB, free: 6.469 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001282/0.1123, allocations: 0.5302 MB / 0.4942 GB, free: 5.938 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001179/0.1135, allocations: 0.9279 MB / 0.4951 GB, free: 5.004 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000408/0.1139, allocations: 234.4 kB / 0.4954 GB, free: 4.762 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005734/0.1145, allocations: 374.5 kB / 0.4957 GB, free: 4.395 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005585/0.115, allocations: 398.1 kB / 0.4961 GB, free: 4.004 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001575/0.1152, allocations: 60 kB / 0.4962 GB, free: 3.945 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001737/0.1154, allocations: 68 kB / 0.4962 GB, free: 3.879 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002279/0.1156, allocations: 203.3 kB / 0.4964 GB, free: 3.68 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003302/0.116, allocations: 345.8 kB / 0.4967 GB, free: 3.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008276/0.1168, allocations: 0.7932 MB / 0.4975 GB, free: 2.543 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1168, allocations: 0 / 0.4975 GB, free: 2.543 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.1168, allocations: 4 kB / 0.4975 GB, free: 2.539 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.861e-05/0.1169, allocations: 0 / 0.4975 GB, free: 2.539 MB / 382.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.002389/0.1193, allocations: 1.182 MB / 0.4987 GB, free: 1.305 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.1193, allocations: 8.031 kB / 0.4987 GB, free: 1.297 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001724/0.1195, allocations: 100.3 kB / 0.4988 GB, free: 1.199 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009561/0.1204, allocations: 0.5981 MB / 0.4994 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.723e-05/0.1205, allocations: 37.38 kB / 0.4994 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.412e-05/0.1206, allocations: 56.33 kB / 0.4995 GB, free: 480 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001082/0.1217, allocations: 0.6176 MB / 0.5001 GB, free: 15.8 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.35e-05/0.1217, allocations: 0 / 0.5001 GB, free: 15.8 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.719e-05/0.1218, allocations: 23.94 kB / 0.5001 GB, free: 15.78 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.225e-05/0.1218, allocations: 15.94 kB / 0.5001 GB, free: 15.76 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001054/0.1229, allocations: 465.8 kB / 0.5005 GB, free: 15.3 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00352/0.1264, allocations: 2.655 MB / 0.5031 GB, free: 12.55 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001092/0.1275, allocations: 0.539 MB / 0.5037 GB, free: 11.98 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005512/0.1281, allocations: 258.4 kB / 0.5039 GB, free: 11.72 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.743e-05/0.1281, allocations: 4 kB / 0.5039 GB, free: 11.71 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.934e-05/0.1281, allocations: 34.56 kB / 0.5039 GB, free: 11.67 MB / 398.1 MB Notification: Performance of pre-optimization done (n=43): time 2.364e-06/0.1282, allocations: 0 / 0.5039 GB, free: 11.67 MB / 398.1 MB Notification: Performance of matching and sorting (n=44): time 0.002411/0.1306, allocations: 1.166 MB / 0.5051 GB, free: 10.5 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.398e-05/0.1307, allocations: 132.5 kB / 0.5052 GB, free: 10.34 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008639/0.1315, allocations: 0.6568 MB / 0.5058 GB, free: 9.672 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.189e-05/0.1316, allocations: 33.7 kB / 0.5059 GB, free: 9.633 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002455/0.1318, allocations: 372.5 kB / 0.5062 GB, free: 9.262 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001387/0.132, allocations: 178.5 kB / 0.5064 GB, free: 9.086 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001839/0.1322, allocations: 118.3 kB / 0.5065 GB, free: 8.965 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.1323, allocations: 329.9 kB / 0.5068 GB, free: 8.637 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006143/0.1329, allocations: 275.3 kB / 0.5071 GB, free: 8.367 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006991/0.1336, allocations: 428.6 kB / 0.5075 GB, free: 7.883 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001268/0.1349, allocations: 0.6778 MB / 0.5082 GB, free: 7.145 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.1349, allocations: 4 kB / 0.5082 GB, free: 7.141 MB / 398.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001599/0.1365, allocations: 0.7946 MB / 0.5089 GB, free: 6.34 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.1365, allocations: 8 kB / 0.509 GB, free: 6.332 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.178e-06/0.1366, allocations: 4 kB / 0.509 GB, free: 6.328 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.1366, allocations: 8 kB / 0.509 GB, free: 6.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006714/0.1373, allocations: 151.8 kB / 0.5091 GB, free: 6.172 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.995e-05/0.1373, allocations: 15.92 kB / 0.5091 GB, free: 6.156 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005177/0.1378, allocations: 87.83 kB / 0.5092 GB, free: 6.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.791e-05/0.1379, allocations: 24 kB / 0.5092 GB, free: 6.047 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007178/0.1386, allocations: 409.3 kB / 0.5096 GB, free: 5.645 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006382/0.1393, allocations: 420.2 kB / 0.51 GB, free: 5.172 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001231/0.1405, allocations: 0.661 MB / 0.5107 GB, free: 4.449 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.007e-06/0.1405, allocations: 0 / 0.5107 GB, free: 4.449 MB / 398.1 MB Notification: Performance of matching and sorting (n=77) (initialization_lambda0): time 0.001582/0.1421, allocations: 0.7699 MB / 0.5114 GB, free: 3.672 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.1421, allocations: 8 kB / 0.5114 GB, free: 3.664 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.1421, allocations: 4 kB / 0.5114 GB, free: 3.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.1422, allocations: 11.94 kB / 0.5114 GB, free: 3.648 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006071/0.1428, allocations: 140.3 kB / 0.5116 GB, free: 3.512 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.1428, allocations: 15.94 kB / 0.5116 GB, free: 3.496 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004854/0.1433, allocations: 87.55 kB / 0.5117 GB, free: 3.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.643e-05/0.1434, allocations: 24 kB / 0.5117 GB, free: 3.387 MB / 398.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.0001599/0.1435, allocations: 216 kB / 0.5119 GB, free: 3.168 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001386/0.1437, allocations: 75.53 kB / 0.512 GB, free: 3.094 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001764/0.1438, allocations: 98.28 kB / 0.5121 GB, free: 2.996 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.1439, allocations: 4 kB / 0.5121 GB, free: 2.992 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.1439, allocations: 7.922 kB / 0.5121 GB, free: 2.984 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002274/0.1441, allocations: 200.4 kB / 0.5123 GB, free: 2.77 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.01e-05/0.1442, allocations: 12 kB / 0.5123 GB, free: 2.758 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00054/0.1447, allocations: 47.94 kB / 0.5123 GB, free: 2.711 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001208/0.1449, allocations: 43.94 kB / 0.5124 GB, free: 2.668 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002545/0.1474, allocations: 1.011 MB / 0.5134 GB, free: 1.652 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002063/0.1495, allocations: 1.287 MB / 0.5146 GB, free: 352 kB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006057/0.1501, allocations: 284 kB / 0.5149 GB, free: 68 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006479/0.1508, allocations: 467 kB / 0.5153 GB, free: 15.62 MB / 414.1 MB Notification: Performance of Backend: time 5.71e-07/0.1508, allocations: 0 / 0.5153 GB, free: 15.62 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002083/0.1529, allocations: 0.8303 MB / 0.5161 GB, free: 14.79 MB / 414.1 MB Notification: Performance of SimCode: time 0.002428/0.1553, allocations: 1.94 MB / 0.518 GB, free: 12.8 MB / 414.1 MB Notification: Performance of Templates: time 0.0197/0.175, allocations: 12 MB / 0.5298 GB, free: 0.8086 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/Continuous/Continuous.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches