Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutput.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_InitialOutput,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_InitialOutput") translateModel(ModelicaTest.Blocks.Continuous_InitialOutput,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_InitialOutput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 108.2 kB / 17.09 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.001231/0.001231, allocations: 198.2 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.213/1.213, 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.1839/0.1839, allocations: 43.54 MB / 314.8 MB, free: 460 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.001347/0.001347, allocations: 72.47 kB / 442.5 MB, free: 5.645 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08829/0.08965, allocations: 57.79 MB / 0.4886 GB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialOutput): time 0.004178/0.09386, allocations: 3.388 MB / 0.4919 GB, free: 8.371 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002714/0.0966, allocations: 1.582 MB / 0.4934 GB, free: 6.777 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003882/0.097, allocations: 23.88 kB / 0.4934 GB, free: 6.754 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004808/0.09751, allocations: 150.7 kB / 0.4936 GB, free: 6.605 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005113/0.09803, allocations: 194.6 kB / 0.4938 GB, free: 6.414 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001111/0.09915, allocations: 0.5263 MB / 0.4943 GB, free: 5.887 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001017/0.1002, allocations: 0.9552 MB / 0.4952 GB, free: 4.926 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003553/0.1005, allocations: 230.4 kB / 0.4954 GB, free: 4.688 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004905/0.101, allocations: 390.5 kB / 0.4958 GB, free: 4.305 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005172/0.1016, allocations: 406.1 kB / 0.4962 GB, free: 3.906 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001213/0.1017, allocations: 60 kB / 0.4963 GB, free: 3.848 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002647/0.102, allocations: 179.7 kB / 0.4964 GB, free: 3.672 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001791/0.1022, allocations: 195.3 kB / 0.4966 GB, free: 3.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002813/0.1024, allocations: 349.8 kB / 0.4969 GB, free: 3.137 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008174/0.1033, allocations: 0.9108 MB / 0.4978 GB, free: 2.223 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.1033, allocations: 4 kB / 0.4978 GB, free: 2.219 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.1033, allocations: 0 / 0.4978 GB, free: 2.219 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.712e-05/0.1033, allocations: 0 / 0.4978 GB, free: 2.219 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.002181/0.1055, allocations: 1.175 MB / 0.499 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.1055, allocations: 8.031 kB / 0.499 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001395/0.1057, allocations: 87.91 kB / 0.4991 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008832/0.1066, allocations: 0.5934 MB / 0.4997 GB, free: 268 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.549e-05/0.1066, allocations: 45.31 kB / 0.4997 GB, free: 224 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001084/0.1067, allocations: 60.28 kB / 0.4998 GB, free: 164 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001075/0.1078, allocations: 0.606 MB / 0.5004 GB, free: 15.5 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.072e-05/0.1079, allocations: 4 kB / 0.5004 GB, free: 15.5 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.889e-05/0.1079, allocations: 23.98 kB / 0.5004 GB, free: 15.47 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.293e-05/0.1079, allocations: 16 kB / 0.5004 GB, free: 15.46 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001047/0.109, allocations: 457.8 kB / 0.5008 GB, free: 15.01 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003361/0.1124, allocations: 2.643 MB / 0.5034 GB, free: 12.27 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009888/0.1134, allocations: 0.5041 MB / 0.5039 GB, free: 11.73 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005432/0.1139, allocations: 270.2 kB / 0.5042 GB, free: 11.46 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.205e-05/0.114, allocations: 4.234 kB / 0.5042 GB, free: 11.46 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.114, allocations: 42.8 kB / 0.5042 GB, free: 11.41 MB / 398.1 MB Notification: Performance of pre-optimization done (n=45): time 1.843e-06/0.114, allocations: 0 / 0.5042 GB, free: 11.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=46): time 0.002345/0.1164, allocations: 1.144 MB / 0.5053 GB, free: 10.25 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.977e-05/0.1164, allocations: 144.6 kB / 0.5055 GB, free: 10.08 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008432/0.1173, allocations: 0.6451 MB / 0.5061 GB, free: 9.43 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.57e-05/0.1174, allocations: 37.7 kB / 0.5061 GB, free: 9.387 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002668/0.1176, allocations: 372.7 kB / 0.5065 GB, free: 9.02 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001451/0.1178, allocations: 177.5 kB / 0.5067 GB, free: 8.844 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001858/0.118, allocations: 114.2 kB / 0.5068 GB, free: 8.727 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.1181, allocations: 337.9 kB / 0.5071 GB, free: 8.391 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005933/0.1187, allocations: 287.2 kB / 0.5074 GB, free: 8.109 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006636/0.1194, allocations: 436.4 kB / 0.5078 GB, free: 7.617 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00123/0.1206, allocations: 0.7151 MB / 0.5085 GB, free: 6.84 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.1206, allocations: 4 kB / 0.5085 GB, free: 6.836 MB / 398.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001519/0.1221, allocations: 0.8162 MB / 0.5093 GB, free: 6.012 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.1222, allocations: 14.59 kB / 0.5093 GB, free: 6 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.799e-06/0.1222, allocations: 4 kB / 0.5093 GB, free: 5.996 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/0.1222, allocations: 8 kB / 0.5093 GB, free: 5.988 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008728/0.1231, allocations: 208.1 kB / 0.5095 GB, free: 5.785 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.508e-05/0.1231, allocations: 11.98 kB / 0.5095 GB, free: 5.773 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005012/0.1236, allocations: 83.47 kB / 0.5096 GB, free: 5.691 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.723e-05/0.1237, allocations: 27.94 kB / 0.5096 GB, free: 5.664 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007077/0.1244, allocations: 425.2 kB / 0.51 GB, free: 5.246 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006389/0.125, allocations: 432.2 kB / 0.5104 GB, free: 4.762 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00115/0.1262, allocations: 0.7 MB / 0.5111 GB, free: 4 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.545e-06/0.1262, allocations: 0 / 0.5111 GB, free: 4 MB / 398.1 MB Notification: Performance of matching and sorting (n=79) (initialization_lambda0): time 0.001418/0.1276, allocations: 0.7927 MB / 0.5119 GB, free: 3.199 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.1277, allocations: 11.94 kB / 0.5119 GB, free: 3.188 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.1277, allocations: 4.531 kB / 0.5119 GB, free: 3.184 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.145e-06/0.1277, allocations: 12 kB / 0.5119 GB, free: 3.172 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008184/0.1285, allocations: 187.8 kB / 0.5121 GB, free: 2.988 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.214e-05/0.1285, allocations: 11.94 kB / 0.5121 GB, free: 2.977 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004804/0.129, allocations: 79.48 kB / 0.5122 GB, free: 2.898 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.567e-05/0.1291, allocations: 31.98 kB / 0.5122 GB, free: 2.867 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 (78): * Single equations (assignments): 77 * Array equations: 1 * 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.0001576/0.1292, allocations: 216 kB / 0.5124 GB, free: 2.648 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001409/0.1294, allocations: 75.06 kB / 0.5125 GB, free: 2.574 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000174/0.1296, allocations: 90.98 kB / 0.5126 GB, free: 2.48 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.1296, allocations: 3.984 kB / 0.5126 GB, free: 2.477 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.1296, allocations: 0 / 0.5126 GB, free: 2.477 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002164/0.1298, allocations: 200 kB / 0.5128 GB, free: 2.262 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.993e-05/0.1299, allocations: 15.98 kB / 0.5128 GB, free: 2.246 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00053/0.1304, allocations: 55.94 kB / 0.5128 GB, free: 2.191 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/0.1306, allocations: 31.95 kB / 0.5129 GB, free: 2.16 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002493/0.1331, allocations: 1.034 MB / 0.5139 GB, free: 1.117 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001964/0.135, allocations: 1.294 MB / 0.5151 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005643/0.1356, allocations: 288.9 kB / 0.5154 GB, free: 15.52 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005866/0.1362, allocations: 463 kB / 0.5159 GB, free: 15.07 MB / 414.1 MB Notification: Performance of Backend: time 2.9e-07/0.1362, allocations: 0 / 0.5159 GB, free: 15.07 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00209/0.1383, allocations: 0.8714 MB / 0.5167 GB, free: 14.2 MB / 414.1 MB Notification: Performance of SimCode: time 0.00221/0.1405, allocations: 1.916 MB / 0.5186 GB, free: 12.23 MB / 414.1 MB Notification: Performance of Templates: time 0.1922/0.3328, allocations: 13.08 MB / 0.5314 GB, free: 40.95 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutput.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutput.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutput.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutput.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutput_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/Continuous_InitialOutput/Continuous_InitialOutput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches