Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.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.001483/0.001483, allocations: 111.1 kB / 20.44 MB, free: 1.336 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.001563/0.001563, allocations: 213.1 kB / 23.73 MB, free: 4.516 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.534/1.534, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2552/0.2552, allocations: 46.95 MB / 360.9 MB, free: 4.062 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002075/0.002075, allocations: 59.91 kB / 0.4966 GB, free: 7.223 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3891/0.3912, allocations: 66.04 MB / 0.5611 GB, free: 4.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test16): time 0.003935/0.3951, allocations: 1.609 MB / 0.5627 GB, free: 2.719 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001234/0.3963, allocations: 0.5388 MB / 0.5632 GB, free: 2.176 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.836e-05/0.3964, allocations: 0 / 0.5632 GB, free: 2.176 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003498/0.3968, allocations: 83.7 kB / 0.5633 GB, free: 2.094 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003424/0.3971, allocations: 99.66 kB / 0.5634 GB, free: 1.996 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000352/0.3975, allocations: 115.4 kB / 0.5635 GB, free: 1.887 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000213/0.3977, allocations: 83.83 kB / 0.5636 GB, free: 1.805 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001485/0.3978, allocations: 14.66 kB / 0.5636 GB, free: 1.793 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.432e-05/0.3979, allocations: 35.84 kB / 0.5636 GB, free: 1.758 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000161/0.3981, allocations: 67.8 kB / 0.5637 GB, free: 1.691 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.793e-05/0.3981, allocations: 4 kB / 0.5637 GB, free: 1.688 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001144/0.3982, allocations: 47.92 kB / 0.5637 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.999e-05/0.3983, allocations: 19.92 kB / 0.5637 GB, free: 1.621 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.179e-05/0.3983, allocations: 23.8 kB / 0.5638 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002547/0.3986, allocations: 111.5 kB / 0.5639 GB, free: 1.488 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.3986, allocations: 0 / 0.5639 GB, free: 1.488 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.3986, allocations: 4 kB / 0.5639 GB, free: 1.484 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.3986, allocations: 0 / 0.5639 GB, free: 1.484 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005993/0.3992, allocations: 337.6 kB / 0.5642 GB, free: 1.125 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.3993, allocations: 8.031 kB / 0.5642 GB, free: 1.117 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.658e-05/0.3993, allocations: 16.84 kB / 0.5642 GB, free: 1.102 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002279/0.3995, allocations: 147 kB / 0.5644 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.3996, allocations: 384 / 0.5644 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.931e-05/0.3996, allocations: 8.375 kB / 0.5644 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001679/0.3998, allocations: 61.77 kB / 0.5644 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.3998, allocations: 0 / 0.5644 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.3998, allocations: 4 kB / 0.5644 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.3998, allocations: 7.938 kB / 0.5644 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001094/0.3999, allocations: 31.97 kB / 0.5645 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004416/0.4003, allocations: 244.4 kB / 0.5647 GB, free: 0.543 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000123/0.4005, allocations: 42.56 kB / 0.5647 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.635e-05/0.4005, allocations: 20.94 kB / 0.5648 GB, free: 480 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.437e-05/0.4005, allocations: 0 / 0.5648 GB, free: 480 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.063e-05/0.4006, allocations: 34.56 kB / 0.5648 GB, free: 436 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.4006, allocations: 0 / 0.5648 GB, free: 436 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009854/0.4016, allocations: 241.2 kB / 0.565 GB, free: 188 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.571e-05/0.4016, allocations: 51.41 kB / 0.5651 GB, free: 124 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003247/0.402, allocations: 214.3 kB / 0.5653 GB, free: 15.9 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.93e-05/0.402, allocations: 29.7 kB / 0.5653 GB, free: 15.87 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001418/0.4021, allocations: 108 kB / 0.5654 GB, free: 15.76 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.473e-05/0.4022, allocations: 27.88 kB / 0.5654 GB, free: 15.73 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.114e-05/0.4022, allocations: 25.7 kB / 0.5655 GB, free: 15.7 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002324/0.4025, allocations: 334.8 kB / 0.5658 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001045/0.4026, allocations: 27.92 kB / 0.5658 GB, free: 15.34 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.175e-05/0.4027, allocations: 31.97 kB / 0.5658 GB, free: 15.3 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002209/0.4029, allocations: 68.83 kB / 0.5659 GB, free: 15.23 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.4029, allocations: 0 / 0.5659 GB, free: 15.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002493/0.4031, allocations: 109.5 kB / 0.566 GB, free: 15.12 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.4031, allocations: 8 kB / 0.566 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.4032, allocations: 4 kB / 0.566 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.4032, allocations: 3.984 kB / 0.566 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.4033, allocations: 16 kB / 0.566 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.4033, allocations: 0 / 0.566 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.384e-05/0.4033, allocations: 7.984 kB / 0.566 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.442e-05/0.4034, allocations: 7.938 kB / 0.5661 GB, free: 15.07 MB / 414.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 (8): * Single equations (assignments): 8 * 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.0001208/0.4035, allocations: 133.8 kB / 0.5662 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.717e-05/0.4035, allocations: 11.91 kB / 0.5662 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003502/0.4039, allocations: 143.3 kB / 0.5663 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.4039, allocations: 7.922 kB / 0.5663 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.4039, allocations: 0 / 0.5663 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.4039, allocations: 0 / 0.5663 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005501/0.4044, allocations: 366.9 kB / 0.5667 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.4044, allocations: 0 / 0.5667 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.078e-05/0.4045, allocations: 16 kB / 0.5667 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.4045, allocations: 3.984 kB / 0.5667 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.4045, allocations: 4.453 kB / 0.5667 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.327e-06/0.4045, allocations: 3.938 kB / 0.5667 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.4045, allocations: 4 kB / 0.5667 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002922/0.4048, allocations: 208.3 kB / 0.5669 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.886e-05/0.4048, allocations: 11.91 kB / 0.5669 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.216e-05/0.4048, allocations: 3.984 kB / 0.5669 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.925e-05/0.4049, allocations: 15.92 kB / 0.5669 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.656e-05/0.405, allocations: 7.984 kB / 0.567 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/0.405, allocations: 4 kB / 0.567 GB, free: 14.06 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002106/0.4052, allocations: 168.2 kB / 0.5671 GB, free: 13.9 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4052, allocations: 0 / 0.5671 GB, free: 13.9 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002594/0.4054, allocations: 20 kB / 0.5671 GB, free: 13.88 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001958/0.4074, allocations: 0.4952 MB / 0.5676 GB, free: 13.59 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002745/0.4077, allocations: 71.94 kB / 0.5677 GB, free: 13.52 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4077, allocations: 0 / 0.5677 GB, free: 13.52 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001035/0.4078, allocations: 35.92 kB / 0.5677 GB, free: 13.49 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004029/0.4082, allocations: 19.92 kB / 0.5677 GB, free: 13.47 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006504/0.4088, allocations: 266.7 kB / 0.568 GB, free: 13.18 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001412/0.409, allocations: 108.7 kB / 0.5681 GB, free: 13.05 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.477e-05/0.409, allocations: 20.95 kB / 0.5681 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.944e-05/0.4091, allocations: 11.44 kB / 0.5681 GB, free: 13.02 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.4091, allocations: 0 / 0.5681 GB, free: 13.02 MB / 414.1 MB Notification: Performance of Templates: time 0.005147/0.4142, allocations: 1.497 MB / 0.5696 GB, free: 11.54 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.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: 5.36413550330326]