Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_SteadyState.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_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_3.2.3_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_3.2.3_ModelicaTest.Blocks.Continuous_SteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 114.8 kB / 17.09 MB, free: 5.996 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.001111/0.001111, allocations: 195.3 kB / 18.02 MB, free: 5.078 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.315/1.315, 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.2054/0.2054, allocations: 43.53 MB / 314.8 MB, free: 472 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.001473/0.001473, allocations: 67.91 kB / 442.5 MB, free: 5.672 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09973/0.1012, allocations: 57.79 MB / 0.4886 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_SteadyState): time 0.004266/0.1055, allocations: 3.364 MB / 0.4919 GB, free: 8.426 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002741/0.1083, allocations: 1.586 MB / 0.4934 GB, free: 6.828 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003549/0.1087, allocations: 23.88 kB / 0.4934 GB, free: 6.805 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004944/0.1092, allocations: 138.7 kB / 0.4936 GB, free: 6.668 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004669/0.1097, allocations: 210.5 kB / 0.4938 GB, free: 6.461 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001157/0.1108, allocations: 0.5303 MB / 0.4943 GB, free: 5.93 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008935/0.1117, allocations: 0.8968 MB / 0.4951 GB, free: 5.027 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003595/0.1121, allocations: 242.4 kB / 0.4954 GB, free: 4.777 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004309/0.1126, allocations: 378.4 kB / 0.4957 GB, free: 4.406 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004525/0.113, allocations: 402.1 kB / 0.4961 GB, free: 4.012 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.682e-05/0.1131, allocations: 60 kB / 0.4962 GB, free: 3.953 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.977e-05/0.1132, allocations: 64 kB / 0.4962 GB, free: 3.891 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001931/0.1134, allocations: 199.3 kB / 0.4964 GB, free: 3.695 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000269/0.1137, allocations: 345.9 kB / 0.4968 GB, free: 3.355 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006953/0.1144, allocations: 0.7743 MB / 0.4975 GB, free: 2.578 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1144, allocations: 4 kB / 0.4975 GB, free: 2.574 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1144, allocations: 3.938 kB / 0.4975 GB, free: 2.57 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.346e-05/0.1144, allocations: 0 / 0.4975 GB, free: 2.57 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.002237/0.1167, allocations: 1.164 MB / 0.4987 GB, free: 1.352 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.1167, allocations: 12.03 kB / 0.4987 GB, free: 1.34 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001349/0.1169, allocations: 87.91 kB / 0.4988 GB, free: 1.254 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000928/0.1178, allocations: 0.5857 MB / 0.4993 GB, free: 0.625 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.089e-05/0.1179, allocations: 37.38 kB / 0.4994 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.251e-05/0.118, allocations: 60.22 kB / 0.4994 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001103/0.1191, allocations: 0.6138 MB / 0.5 GB, free: 15.87 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.883e-05/0.1191, allocations: 0 / 0.5 GB, free: 15.87 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.033e-05/0.1192, allocations: 24 kB / 0.5 GB, free: 15.84 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.21e-05/0.1192, allocations: 8 kB / 0.5001 GB, free: 15.84 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001051/0.1202, allocations: 469.7 kB / 0.5005 GB, free: 15.38 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00338/0.1236, allocations: 2.616 MB / 0.5031 GB, free: 12.66 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001101/0.1247, allocations: 0.5532 MB / 0.5036 GB, free: 12.08 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005598/0.1253, allocations: 254.7 kB / 0.5038 GB, free: 11.82 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.852e-05/0.1254, allocations: 4 kB / 0.5038 GB, free: 11.82 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/0.1254, allocations: 46.53 kB / 0.5039 GB, free: 11.77 MB / 398.1 MB Notification: Performance of pre-optimization done (n=43): time 2.325e-06/0.1254, allocations: 0 / 0.5039 GB, free: 11.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=44): time 0.002489/0.1279, allocations: 1.124 MB / 0.505 GB, free: 10.63 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.637e-05/0.128, allocations: 148.4 kB / 0.5051 GB, free: 10.45 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008137/0.1288, allocations: 0.6452 MB / 0.5058 GB, free: 9.801 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.019e-05/0.1289, allocations: 37.7 kB / 0.5058 GB, free: 9.758 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002666/0.1291, allocations: 368 kB / 0.5061 GB, free: 9.391 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001388/0.1293, allocations: 173.5 kB / 0.5063 GB, free: 9.219 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001737/0.1295, allocations: 110.3 kB / 0.5064 GB, free: 9.105 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001116/0.1296, allocations: 333.9 kB / 0.5067 GB, free: 8.773 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006331/0.1302, allocations: 267.3 kB / 0.507 GB, free: 8.512 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007024/0.1309, allocations: 416.7 kB / 0.5074 GB, free: 8.039 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001303/0.1323, allocations: 0.6816 MB / 0.5081 GB, free: 7.297 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.1323, allocations: 0 / 0.5081 GB, free: 7.297 MB / 398.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001745/0.134, allocations: 0.8145 MB / 0.5088 GB, free: 6.473 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.1341, allocations: 8 kB / 0.5089 GB, free: 6.465 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/0.1341, allocations: 11.98 kB / 0.5089 GB, free: 6.453 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002414/0.1343, allocations: 64.75 kB / 0.5089 GB, free: 6.387 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008905/0.1352, allocations: 200 kB / 0.5091 GB, free: 6.191 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001354/0.1366, allocations: 1.605 MB / 0.5107 GB, free: 4.449 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005501/0.1371, allocations: 75.56 kB / 0.5108 GB, free: 4.375 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.469e-05/0.1372, allocations: 24 kB / 0.5108 GB, free: 4.352 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007594/0.138, allocations: 409.4 kB / 0.5112 GB, free: 3.945 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006842/0.1387, allocations: 412.1 kB / 0.5116 GB, free: 3.484 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001195/0.1399, allocations: 0.6533 MB / 0.5122 GB, free: 2.77 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.244e-06/0.1399, allocations: 0 / 0.5122 GB, free: 2.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=77) (initialization_lambda0): time 0.001582/0.1415, allocations: 0.794 MB / 0.513 GB, free: 1.965 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.1415, allocations: 8 kB / 0.513 GB, free: 1.957 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.1415, allocations: 8.031 kB / 0.513 GB, free: 1.949 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001502/0.1417, allocations: 56.81 kB / 0.513 GB, free: 1.891 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008544/0.1425, allocations: 191.7 kB / 0.5132 GB, free: 1.703 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001248/0.1438, allocations: 1.605 MB / 0.5148 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005268/0.1443, allocations: 83.59 kB / 0.5149 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.022e-05/0.1444, allocations: 24 kB / 0.5149 GB, free: 15.86 MB / 414.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.0002045/0.1446, allocations: 228 kB / 0.5151 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001545/0.1447, allocations: 75.09 kB / 0.5152 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001984/0.145, allocations: 94.28 kB / 0.5153 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.145, allocations: 0 / 0.5153 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.145, allocations: 7.938 kB / 0.5153 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002566/0.1452, allocations: 196 kB / 0.5155 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.916e-05/0.1453, allocations: 16 kB / 0.5155 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005588/0.1459, allocations: 47.94 kB / 0.5155 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001232/0.146, allocations: 39.89 kB / 0.5156 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002621/0.1487, allocations: 1.011 MB / 0.5166 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002129/0.1508, allocations: 1.282 MB / 0.5178 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005893/0.1514, allocations: 283.6 kB / 0.5181 GB, free: 12.54 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006286/0.152, allocations: 463 kB / 0.5185 GB, free: 12.09 MB / 414.1 MB Notification: Performance of Backend: time 4.61e-07/0.1521, allocations: 0 / 0.5185 GB, free: 12.09 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002457/0.1545, allocations: 1.06 MB / 0.5196 GB, free: 11 MB / 414.1 MB Notification: Performance of SimCode: time 0.00232/0.1569, allocations: 1.926 MB / 0.5214 GB, free: 9.023 MB / 414.1 MB Notification: Performance of Templates: time 0.2199/0.3767, allocations: 12.21 MB / 0.5334 GB, free: 39.46 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_SteadyState.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_SteadyState.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_SteadyState.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_SteadyState.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_SteadyState.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_SteadyState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_SteadyState.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_SteadyState_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/Continuous_SteadyState/Continuous_SteadyState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_SteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches