Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001833/0.001833, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002335/0.002335, allocations: 211.5 kB / 24.48 MB, free: 3.938 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.524/1.524, allocations: 230.6 MB / 258.2 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2371/0.2371, allocations: 44.94 MB / 359.6 MB, free: 6.031 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002429/0.002429, allocations: 71.88 kB / 0.4943 GB, free: 9.996 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3943/0.3968, allocations: 65.48 MB / 0.5582 GB, free: 7.445 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test20): time 0.003519/0.4003, allocations: 1.592 MB / 0.5598 GB, free: 5.844 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002392/0.4027, allocations: 1.244 MB / 0.561 GB, free: 4.594 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.103e-05/0.4028, allocations: 0 / 0.561 GB, free: 4.594 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002739/0.403, allocations: 19.86 kB / 0.561 GB, free: 4.574 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003741/0.4034, allocations: 87.61 kB / 0.5611 GB, free: 4.488 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003449/0.4037, allocations: 123.1 kB / 0.5612 GB, free: 4.371 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000165/0.4039, allocations: 67.78 kB / 0.5613 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.404, allocations: 7.984 kB / 0.5613 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.724e-05/0.4041, allocations: 27.92 kB / 0.5613 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000139/0.4042, allocations: 35.78 kB / 0.5613 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.816e-05/0.4043, allocations: 4 kB / 0.5613 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001895/0.4044, allocations: 87.94 kB / 0.5614 GB, free: 4.145 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.8e-05/0.4045, allocations: 11.94 kB / 0.5614 GB, free: 4.133 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.046e-05/0.4045, allocations: 27.84 kB / 0.5615 GB, free: 4.105 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002848/0.4048, allocations: 141.9 kB / 0.5616 GB, free: 3.973 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.4048, allocations: 4 kB / 0.5616 GB, free: 3.969 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.4048, allocations: 0 / 0.5616 GB, free: 3.969 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.4048, allocations: 0 / 0.5616 GB, free: 3.969 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006849/0.4055, allocations: 321.7 kB / 0.5619 GB, free: 3.625 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/0.4056, allocations: 16.02 kB / 0.5619 GB, free: 3.609 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.456e-05/0.4056, allocations: 4.891 kB / 0.5619 GB, free: 3.605 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002373/0.4059, allocations: 138.4 kB / 0.5621 GB, free: 3.445 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.213e-06/0.4059, allocations: 384 / 0.5621 GB, free: 3.445 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.923e-05/0.4059, allocations: 4.375 kB / 0.5621 GB, free: 3.441 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002099/0.4061, allocations: 101.2 kB / 0.5622 GB, free: 3.324 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.4061, allocations: 3.938 kB / 0.5622 GB, free: 3.32 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.4061, allocations: 0 / 0.5622 GB, free: 3.32 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.4061, allocations: 0 / 0.5622 GB, free: 3.32 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.626e-05/0.4062, allocations: 27.97 kB / 0.5622 GB, free: 3.293 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004276/0.4067, allocations: 228.5 kB / 0.5624 GB, free: 3.039 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002604/0.4069, allocations: 42.5 kB / 0.5624 GB, free: 2.988 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.901e-05/0.407, allocations: 24.94 kB / 0.5625 GB, free: 2.961 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.23e-05/0.407, allocations: 4 kB / 0.5625 GB, free: 2.957 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.267e-05/0.407, allocations: 30.56 kB / 0.5625 GB, free: 2.918 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.407, allocations: 0 / 0.5625 GB, free: 2.918 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006549/0.4077, allocations: 157.3 kB / 0.5626 GB, free: 2.758 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.436e-05/0.4078, allocations: 77.11 kB / 0.5627 GB, free: 2.664 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000187/0.4079, allocations: 145.8 kB / 0.5629 GB, free: 2.512 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.006e-05/0.408, allocations: 25.7 kB / 0.5629 GB, free: 2.48 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.644e-05/0.408, allocations: 96.14 kB / 0.563 GB, free: 2.383 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.645e-05/0.4081, allocations: 27.78 kB / 0.563 GB, free: 2.355 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.227e-05/0.4081, allocations: 13.72 kB / 0.563 GB, free: 2.336 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001777/0.4083, allocations: 326.8 kB / 0.5633 GB, free: 2.008 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.765e-05/0.4084, allocations: 19.98 kB / 0.5633 GB, free: 1.988 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.641e-05/0.4085, allocations: 55.41 kB / 0.5634 GB, free: 1.922 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001489/0.4086, allocations: 56.77 kB / 0.5635 GB, free: 1.863 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.4086, allocations: 0 / 0.5635 GB, free: 1.863 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002052/0.4088, allocations: 89.92 kB / 0.5635 GB, free: 1.77 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.4088, allocations: 8 kB / 0.5635 GB, free: 1.762 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.4089, allocations: 0 / 0.5635 GB, free: 1.762 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/0.4089, allocations: 0 / 0.5635 GB, free: 1.762 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.148e-05/0.4089, allocations: 11.98 kB / 0.5636 GB, free: 1.75 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.444e-05/0.409, allocations: 4 kB / 0.5636 GB, free: 1.746 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.826e-05/0.409, allocations: 3.984 kB / 0.5636 GB, free: 1.742 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.674e-05/0.409, allocations: 11.98 kB / 0.5636 GB, free: 1.73 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001191/0.4092, allocations: 121.8 kB / 0.5637 GB, free: 1.602 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.638e-05/0.4092, allocations: 7.953 kB / 0.5637 GB, free: 1.594 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003134/0.4095, allocations: 102 kB / 0.5638 GB, free: 1.477 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.4095, allocations: 0 / 0.5638 GB, free: 1.477 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.4095, allocations: 0 / 0.5638 GB, free: 1.477 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.4095, allocations: 320 / 0.5638 GB, free: 1.477 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004685/0.41, allocations: 306.1 kB / 0.5641 GB, free: 1.141 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.41, allocations: 0 / 0.5641 GB, free: 1.141 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.329e-05/0.41, allocations: 12 kB / 0.5641 GB, free: 1.129 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.143e-06/0.41, allocations: 7.984 kB / 0.5641 GB, free: 1.121 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.4101, allocations: 4 kB / 0.5641 GB, free: 1.117 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.4101, allocations: 0 / 0.5641 GB, free: 1.117 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.4101, allocations: 3.938 kB / 0.5641 GB, free: 1.113 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002626/0.4103, allocations: 183.4 kB / 0.5643 GB, free: 0.918 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.087e-05/0.4103, allocations: 7.953 kB / 0.5643 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2e-05/0.4104, allocations: 3.938 kB / 0.5643 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.666e-05/0.4104, allocations: 8 kB / 0.5643 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.549e-05/0.4105, allocations: 11.92 kB / 0.5643 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.055e-05/0.4105, allocations: 7.938 kB / 0.5643 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001159/0.4106, allocations: 113.4 kB / 0.5644 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4106, allocations: 0 / 0.5644 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003153/0.4109, allocations: 39.88 kB / 0.5645 GB, free: 0.7305 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.00209/0.413, allocations: 0.5173 MB / 0.565 GB, free: 436 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00024/0.4133, allocations: 55.95 kB / 0.565 GB, free: 380 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.4133, allocations: 0 / 0.565 GB, free: 380 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.573e-05/0.4133, allocations: 31.92 kB / 0.5651 GB, free: 348 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004038/0.4138, allocations: 19.86 kB / 0.5651 GB, free: 332 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005528/0.4143, allocations: 191.3 kB / 0.5653 GB, free: 108 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001006/0.4144, allocations: 88.64 kB / 0.5654 GB, free: 0 / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.069e-05/0.4145, allocations: 19.42 kB / 0.5654 GB, free: 15.98 MB / 414.1 MB Notification: Performance of SimCode: time 1.072e-06/0.4145, allocations: 0 / 0.5654 GB, free: 15.98 MB / 414.1 MB Notification: Performance of Templates: time 0.004613/0.4191, allocations: 1.979 MB / 0.5673 GB, free: 14 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.978753361850977]