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.001393/0.001393, allocations: 104.8 kB / 17.08 MB, free: 6.012 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.001669/0.001669, allocations: 199.3 kB / 18.02 MB, free: 5.094 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.24/1.24, 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.2011/0.2011, allocations: 43.54 MB / 314.8 MB, free: 468 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.001416/0.001416, allocations: 75.88 kB / 442.5 MB, free: 5.668 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08855/0.08997, allocations: 57.78 MB / 0.4885 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous): time 0.004231/0.09424, allocations: 3.345 MB / 0.4918 GB, free: 8.445 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002775/0.09703, allocations: 1.594 MB / 0.4934 GB, free: 6.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004454/0.0975, allocations: 19.88 kB / 0.4934 GB, free: 6.82 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005173/0.09803, allocations: 142.7 kB / 0.4935 GB, free: 6.68 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006052/0.09867, allocations: 190.6 kB / 0.4937 GB, free: 6.492 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001152/0.09983, allocations: 0.5302 MB / 0.4942 GB, free: 5.961 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001058/0.1009, allocations: 0.9163 MB / 0.4951 GB, free: 5.039 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003719/0.1013, allocations: 242.4 kB / 0.4954 GB, free: 4.789 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005162/0.1018, allocations: 370.4 kB / 0.4957 GB, free: 4.426 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005359/0.1024, allocations: 394.1 kB / 0.4961 GB, free: 4.039 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001544/0.1025, allocations: 64 kB / 0.4961 GB, free: 3.977 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001179/0.1026, allocations: 68 kB / 0.4962 GB, free: 3.91 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001865/0.1028, allocations: 203.3 kB / 0.4964 GB, free: 3.711 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000282/0.1031, allocations: 349.8 kB / 0.4967 GB, free: 3.367 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006664/0.1038, allocations: 0.7821 MB / 0.4975 GB, free: 2.582 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.1038, allocations: 0 / 0.4975 GB, free: 2.582 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.1038, allocations: 0 / 0.4975 GB, free: 2.582 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.079e-05/0.1038, allocations: 0 / 0.4975 GB, free: 2.582 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.002168/0.106, allocations: 1.159 MB / 0.4986 GB, free: 1.371 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.1061, allocations: 8.031 kB / 0.4986 GB, free: 1.363 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001427/0.1062, allocations: 87.91 kB / 0.4987 GB, free: 1.277 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009739/0.1072, allocations: 0.5974 MB / 0.4993 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.931e-05/0.1072, allocations: 45.25 kB / 0.4993 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.827e-05/0.1073, allocations: 64.25 kB / 0.4994 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001015/0.1084, allocations: 0.6138 MB / 0.5 GB, free: 15.87 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.035e-05/0.1084, allocations: 7.938 kB / 0.5 GB, free: 15.86 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.444e-05/0.1084, allocations: 16 kB / 0.5 GB, free: 15.84 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.1085, allocations: 12 kB / 0.5 GB, free: 15.83 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009753/0.1094, allocations: 461.8 kB / 0.5005 GB, free: 15.38 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003263/0.1127, allocations: 2.647 MB / 0.5031 GB, free: 12.63 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009939/0.1137, allocations: 0.5467 MB / 0.5036 GB, free: 12.05 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005031/0.1142, allocations: 254.7 kB / 0.5038 GB, free: 11.8 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.568e-05/0.1143, allocations: 4 kB / 0.5038 GB, free: 11.79 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/0.1143, allocations: 46.53 kB / 0.5039 GB, free: 11.74 MB / 398.1 MB Notification: Performance of pre-optimization done (n=43): time 1.824e-06/0.1143, allocations: 4 kB / 0.5039 GB, free: 11.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=44): time 0.002237/0.1166, allocations: 1.122 MB / 0.505 GB, free: 10.6 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.931e-05/0.1166, allocations: 140.5 kB / 0.5051 GB, free: 10.43 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007774/0.1174, allocations: 0.653 MB / 0.5058 GB, free: 9.773 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.183e-05/0.1175, allocations: 37.7 kB / 0.5058 GB, free: 9.73 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002383/0.1177, allocations: 360 kB / 0.5061 GB, free: 9.371 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001246/0.1178, allocations: 177.5 kB / 0.5063 GB, free: 9.195 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001589/0.118, allocations: 110.3 kB / 0.5064 GB, free: 9.082 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.831e-05/0.1181, allocations: 337.9 kB / 0.5067 GB, free: 8.746 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005961/0.1187, allocations: 271.3 kB / 0.507 GB, free: 8.48 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006559/0.1194, allocations: 428.7 kB / 0.5074 GB, free: 7.996 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00119/0.1206, allocations: 0.6855 MB / 0.5081 GB, free: 7.25 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.1206, allocations: 0 / 0.5081 GB, free: 7.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001498/0.1221, allocations: 0.7941 MB / 0.5089 GB, free: 6.449 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.1221, allocations: 8 kB / 0.5089 GB, free: 6.441 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.1221, allocations: 7.938 kB / 0.5089 GB, free: 6.434 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.1222, allocations: 8 kB / 0.5089 GB, free: 6.426 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000653/0.1228, allocations: 151.7 kB / 0.509 GB, free: 6.277 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.815e-05/0.1228, allocations: 8.344 kB / 0.509 GB, free: 6.27 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000497/0.1234, allocations: 83.56 kB / 0.5091 GB, free: 6.188 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.62e-05/0.1234, allocations: 24 kB / 0.5091 GB, free: 6.164 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006909/0.1241, allocations: 409.3 kB / 0.5095 GB, free: 5.762 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006118/0.1247, allocations: 424.1 kB / 0.5099 GB, free: 5.285 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001106/0.1258, allocations: 0.6494 MB / 0.5106 GB, free: 4.574 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.555e-06/0.1259, allocations: 0 / 0.5106 GB, free: 4.574 MB / 398.1 MB Notification: Performance of matching and sorting (n=77) (initialization_lambda0): time 0.00144/0.1273, allocations: 0.7848 MB / 0.5113 GB, free: 3.781 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/0.1273, allocations: 8 kB / 0.5113 GB, free: 3.773 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.1273, allocations: 4 kB / 0.5113 GB, free: 3.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.784e-06/0.1273, allocations: 8 kB / 0.5113 GB, free: 3.762 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000598/0.1279, allocations: 144.3 kB / 0.5115 GB, free: 3.621 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.128, allocations: 11.94 kB / 0.5115 GB, free: 3.609 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004747/0.1284, allocations: 75.56 kB / 0.5116 GB, free: 3.535 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.325e-05/0.1285, allocations: 28.05 kB / 0.5116 GB, free: 3.508 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.0001484/0.1287, allocations: 220 kB / 0.5118 GB, free: 3.285 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001355/0.1288, allocations: 75.06 kB / 0.5119 GB, free: 3.211 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001702/0.129, allocations: 98.28 kB / 0.512 GB, free: 3.113 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.129, allocations: 0 / 0.512 GB, free: 3.113 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.129, allocations: 3.938 kB / 0.512 GB, free: 3.109 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002095/0.1292, allocations: 196 kB / 0.5122 GB, free: 2.898 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.631e-05/0.1293, allocations: 15.94 kB / 0.5122 GB, free: 2.883 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005317/0.1298, allocations: 47.94 kB / 0.5122 GB, free: 2.836 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/0.13, allocations: 39.95 kB / 0.5123 GB, free: 2.797 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002438/0.1324, allocations: 1.011 MB / 0.5132 GB, free: 1.777 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001938/0.1343, allocations: 1.282 MB / 0.5145 GB, free: 488 kB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005711/0.1349, allocations: 288 kB / 0.5148 GB, free: 200 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005904/0.1355, allocations: 463 kB / 0.5152 GB, free: 15.75 MB / 414.1 MB Notification: Performance of Backend: time 3.7e-07/0.1355, allocations: 0 / 0.5152 GB, free: 15.75 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001888/0.1374, allocations: 0.8351 MB / 0.516 GB, free: 14.91 MB / 414.1 MB Notification: Performance of SimCode: time 0.002208/0.1397, allocations: 1.911 MB / 0.5179 GB, free: 12.96 MB / 414.1 MB Notification: Performance of Templates: time 0.01878/0.1584, allocations: 12.42 MB / 0.53 GB, free: 0.5469 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