Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialState.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_InitialState,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_InitialState") translateModel(ModelicaTest.Blocks.Continuous_InitialState,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_InitialState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00126/0.00126, allocations: 111.9 kB / 17.09 MB, free: 5.988 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.001212/0.001212, allocations: 200.2 kB / 18.02 MB, free: 5.066 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.225/1.225, allocations: 205.1 MB / 223.9 MB, free: 12.23 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.1886/0.1886, allocations: 43.53 MB / 314.8 MB, free: 448 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.001426/0.001426, allocations: 69.47 kB / 442.5 MB, free: 5.629 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09048/0.09192, allocations: 57.79 MB / 0.4886 GB, free: 11.76 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialState): time 0.004347/0.0963, allocations: 3.376 MB / 0.4919 GB, free: 8.363 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002799/0.09913, allocations: 1.579 MB / 0.4934 GB, free: 6.773 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004629/0.09961, allocations: 23.88 kB / 0.4934 GB, free: 6.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000514/0.1001, allocations: 150.7 kB / 0.4936 GB, free: 6.602 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005824/0.1008, allocations: 190.6 kB / 0.4938 GB, free: 6.414 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001147/0.1019, allocations: 0.5302 MB / 0.4943 GB, free: 5.883 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001031/0.103, allocations: 0.9201 MB / 0.4952 GB, free: 4.957 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003616/0.1033, allocations: 238.4 kB / 0.4954 GB, free: 4.711 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005112/0.1039, allocations: 370.5 kB / 0.4957 GB, free: 4.348 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005226/0.1044, allocations: 398.1 kB / 0.4961 GB, free: 3.957 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001405/0.1045, allocations: 60 kB / 0.4962 GB, free: 3.898 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001257/0.1047, allocations: 68 kB / 0.4962 GB, free: 3.832 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001895/0.1049, allocations: 203.2 kB / 0.4964 GB, free: 3.633 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002895/0.1052, allocations: 345.8 kB / 0.4968 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006849/0.1059, allocations: 0.786 MB / 0.4975 GB, free: 2.504 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.1059, allocations: 7.938 kB / 0.4975 GB, free: 2.496 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1059, allocations: 3.938 kB / 0.4976 GB, free: 2.492 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.22e-05/0.1059, allocations: 0 / 0.4976 GB, free: 2.492 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.001967/0.1079, allocations: 1.152 MB / 0.4987 GB, free: 1.285 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/0.1079, allocations: 8.031 kB / 0.4987 GB, free: 1.277 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001247/0.108, allocations: 91.91 kB / 0.4988 GB, free: 1.188 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008237/0.1089, allocations: 0.5973 MB / 0.4994 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.172e-05/0.1089, allocations: 37.38 kB / 0.4994 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.644e-05/0.109, allocations: 56.28 kB / 0.4994 GB, free: 468 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000964/0.11, allocations: 0.6099 MB / 0.5 GB, free: 15.8 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.753e-05/0.11, allocations: 7.875 kB / 0.5 GB, free: 15.79 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.462e-05/0.1101, allocations: 20 kB / 0.5001 GB, free: 15.77 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.188e-05/0.1101, allocations: 12 kB / 0.5001 GB, free: 15.76 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009372/0.111, allocations: 465.8 kB / 0.5005 GB, free: 15.3 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003114/0.1141, allocations: 2.643 MB / 0.5031 GB, free: 12.55 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009769/0.1151, allocations: 0.5501 MB / 0.5036 GB, free: 11.98 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005086/0.1157, allocations: 261.2 kB / 0.5039 GB, free: 11.72 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.909e-05/0.1157, allocations: 8.031 kB / 0.5039 GB, free: 11.71 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.078e-05/0.1157, allocations: 46.48 kB / 0.5039 GB, free: 11.66 MB / 398.1 MB Notification: Performance of pre-optimization done (n=43): time 2.535e-06/0.1157, allocations: 4 kB / 0.5039 GB, free: 11.65 MB / 398.1 MB Notification: Performance of matching and sorting (n=44): time 0.002252/0.118, allocations: 1.12 MB / 0.505 GB, free: 10.52 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.773e-05/0.1181, allocations: 140.6 kB / 0.5052 GB, free: 10.35 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007858/0.1189, allocations: 0.6491 MB / 0.5058 GB, free: 9.695 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.525e-05/0.1189, allocations: 33.7 kB / 0.5058 GB, free: 9.656 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002385/0.1192, allocations: 368 kB / 0.5062 GB, free: 9.289 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001303/0.1193, allocations: 177.5 kB / 0.5064 GB, free: 9.113 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001671/0.1195, allocations: 110.3 kB / 0.5065 GB, free: 9 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.1196, allocations: 337.9 kB / 0.5068 GB, free: 8.664 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005714/0.1202, allocations: 267.3 kB / 0.507 GB, free: 8.402 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006624/0.1208, allocations: 428.6 kB / 0.5075 GB, free: 7.918 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001193/0.1221, allocations: 0.6855 MB / 0.5081 GB, free: 7.172 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.1221, allocations: 4 kB / 0.5081 GB, free: 7.168 MB / 398.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001482/0.1236, allocations: 0.794 MB / 0.5089 GB, free: 6.367 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.1236, allocations: 8 kB / 0.5089 GB, free: 6.359 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.1236, allocations: 8 kB / 0.5089 GB, free: 6.352 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.1236, allocations: 8 kB / 0.5089 GB, free: 6.344 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006986/0.1243, allocations: 148.3 kB / 0.5091 GB, free: 6.199 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.504e-05/0.1244, allocations: 19.86 kB / 0.5091 GB, free: 6.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005151/0.1249, allocations: 79.52 kB / 0.5092 GB, free: 6.102 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-05/0.1249, allocations: 27.98 kB / 0.5092 GB, free: 6.074 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007106/0.1257, allocations: 413.3 kB / 0.5096 GB, free: 5.668 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006442/0.1263, allocations: 416.2 kB / 0.51 GB, free: 5.199 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001137/0.1275, allocations: 0.6533 MB / 0.5106 GB, free: 4.484 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.855e-06/0.1275, allocations: 7.938 kB / 0.5106 GB, free: 4.477 MB / 398.1 MB Notification: Performance of matching and sorting (n=77) (initialization_lambda0): time 0.001428/0.1289, allocations: 0.7654 MB / 0.5114 GB, free: 3.703 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.1289, allocations: 8 kB / 0.5114 GB, free: 3.695 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.1289, allocations: 4 kB / 0.5114 GB, free: 3.691 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.167e-06/0.129, allocations: 8.531 kB / 0.5114 GB, free: 3.684 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006013/0.1296, allocations: 155.7 kB / 0.5115 GB, free: 3.531 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.416e-05/0.1296, allocations: 8 kB / 0.5115 GB, free: 3.523 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000489/0.1301, allocations: 71.58 kB / 0.5116 GB, free: 3.453 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.285e-05/0.1301, allocations: 27.98 kB / 0.5116 GB, free: 3.426 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.0001855/0.1303, allocations: 224 kB / 0.5119 GB, free: 3.199 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001435/0.1305, allocations: 79 kB / 0.5119 GB, free: 3.121 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001978/0.1307, allocations: 90.3 kB / 0.512 GB, free: 3.031 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.256e-06/0.1307, allocations: 3.984 kB / 0.512 GB, free: 3.027 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.399e-06/0.1307, allocations: 3.938 kB / 0.512 GB, free: 3.023 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002191/0.1309, allocations: 192 kB / 0.5122 GB, free: 2.816 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.124e-05/0.131, allocations: 11.98 kB / 0.5122 GB, free: 2.805 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005387/0.1316, allocations: 55.94 kB / 0.5123 GB, free: 2.75 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/0.1317, allocations: 31.95 kB / 0.5123 GB, free: 2.719 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002497/0.1342, allocations: 1.019 MB / 0.5133 GB, free: 1.691 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001952/0.1362, allocations: 1.279 MB / 0.5145 GB, free: 400 kB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005506/0.1367, allocations: 283.8 kB / 0.5148 GB, free: 120 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006282/0.1374, allocations: 463.1 kB / 0.5153 GB, free: 15.67 MB / 414.1 MB Notification: Performance of Backend: time 4.41e-07/0.1374, allocations: 4 kB / 0.5153 GB, free: 15.66 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001944/0.1393, allocations: 0.8343 MB / 0.5161 GB, free: 14.83 MB / 414.1 MB Notification: Performance of SimCode: time 0.002331/0.1417, allocations: 1.907 MB / 0.5179 GB, free: 12.88 MB / 414.1 MB Notification: Performance of Templates: time 0.01963/0.1613, allocations: 12.41 MB / 0.5301 GB, free: 488 kB / 414.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialState.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialState.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialState.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialState.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialState.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialState.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialState_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/Continuous_InitialState/Continuous_InitialState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches