Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.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.001349/0.001349, allocations: 107 kB / 21.18 MB, free: 0.6484 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.00148/0.00148, allocations: 214.8 kB / 24.48 MB, free: 3.941 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.426/1.426, allocations: 230.6 MB / 258.2 MB, free: 7.785 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.2482/0.2482, allocations: 46.96 MB / 361.6 MB, free: 4.035 MB / 286.1 MB " [Timeout remaining time 180] 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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 63.91 kB / 0.4973 GB, free: 7.203 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3629/0.3649, allocations: 66.02 MB / 0.5618 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.003547/0.3684, allocations: 1.597 MB / 0.5634 GB, free: 2.551 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002272/0.3707, allocations: 1.236 MB / 0.5646 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001036/0.3708, allocations: 7.938 kB / 0.5646 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002488/0.3711, allocations: 27.83 kB / 0.5646 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003387/0.3714, allocations: 91.62 kB / 0.5647 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003316/0.3717, allocations: 115.3 kB / 0.5648 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001608/0.3719, allocations: 67.83 kB / 0.5649 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.372, allocations: 8 kB / 0.5649 GB, free: 1 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.135e-05/0.3721, allocations: 31.84 kB / 0.5649 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001182/0.3722, allocations: 30.81 kB / 0.565 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.656e-05/0.3722, allocations: 4 kB / 0.565 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001814/0.3724, allocations: 95.88 kB / 0.565 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.789e-05/0.3724, allocations: 19.92 kB / 0.5651 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.54e-05/0.3725, allocations: 19.88 kB / 0.5651 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002939/0.3728, allocations: 141.9 kB / 0.5652 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.3728, allocations: 0 / 0.5652 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3728, allocations: 0 / 0.5652 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.3728, allocations: 4 kB / 0.5652 GB, free: 0.668 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.000598/0.3734, allocations: 329.6 kB / 0.5655 GB, free: 324 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.3734, allocations: 8.031 kB / 0.5655 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.687e-05/0.3735, allocations: 8.891 kB / 0.5656 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002119/0.3737, allocations: 138.4 kB / 0.5657 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.3737, allocations: 384 / 0.5657 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.461e-05/0.3737, allocations: 8.375 kB / 0.5657 GB, free: 136 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001987/0.3739, allocations: 89.23 kB / 0.5658 GB, free: 28 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.3739, allocations: 3.984 kB / 0.5658 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.3739, allocations: 4 kB / 0.5658 GB, free: 20 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.3739, allocations: 3.984 kB / 0.5658 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001263/0.3741, allocations: 28 kB / 0.5658 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004011/0.3745, allocations: 228.5 kB / 0.566 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002234/0.3747, allocations: 42.56 kB / 0.5661 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.693e-05/0.3748, allocations: 20.94 kB / 0.5661 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.318e-05/0.3748, allocations: 0 / 0.5661 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/0.3748, allocations: 38.5 kB / 0.5661 GB, free: 15.61 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.3748, allocations: 0 / 0.5661 GB, free: 15.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006108/0.3754, allocations: 145.5 kB / 0.5663 GB, free: 15.46 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.862e-05/0.3755, allocations: 85.05 kB / 0.5664 GB, free: 15.36 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000178/0.3757, allocations: 144.8 kB / 0.5665 GB, free: 15.21 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.3757, allocations: 29.7 kB / 0.5665 GB, free: 15.18 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.636e-05/0.3757, allocations: 96.12 kB / 0.5666 GB, free: 15.08 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.584e-05/0.3758, allocations: 15.8 kB / 0.5666 GB, free: 15.06 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.899e-05/0.3758, allocations: 21.72 kB / 0.5666 GB, free: 15.04 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.376, allocations: 326.7 kB / 0.567 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.528e-05/0.3761, allocations: 19.98 kB / 0.567 GB, free: 14.69 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.77e-05/0.3762, allocations: 71.39 kB / 0.567 GB, free: 14.61 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001502/0.3763, allocations: 52.83 kB / 0.5671 GB, free: 14.55 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.3763, allocations: 4.031 kB / 0.5671 GB, free: 14.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002006/0.3765, allocations: 89.55 kB / 0.5672 GB, free: 14.45 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.3765, allocations: 8 kB / 0.5672 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.3765, allocations: 0 / 0.5672 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.3765, allocations: 0 / 0.5672 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.771e-05/0.3766, allocations: 8 kB / 0.5672 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.3766, allocations: 0 / 0.5672 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.976e-05/0.3767, allocations: 7.984 kB / 0.5672 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-06/0.3767, allocations: 4 kB / 0.5672 GB, free: 14.43 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 (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.0001086/0.3768, allocations: 121.8 kB / 0.5673 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.661e-05/0.3768, allocations: 7.953 kB / 0.5673 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002885/0.3771, allocations: 97.98 kB / 0.5674 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.3771, allocations: 4 kB / 0.5674 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.3771, allocations: 0 / 0.5674 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.3771, allocations: 0 / 0.5674 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004526/0.3776, allocations: 298.2 kB / 0.5677 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3776, allocations: 4 kB / 0.5677 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.844e-05/0.3776, allocations: 12.3 kB / 0.5677 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.3776, allocations: 0 / 0.5677 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.3776, allocations: 8 kB / 0.5677 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.3777, allocations: 0 / 0.5677 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.3777, allocations: 3.938 kB / 0.5677 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002699/0.3779, allocations: 187.4 kB / 0.5679 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.684e-05/0.3779, allocations: 7.953 kB / 0.5679 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.234e-05/0.378, allocations: 3.984 kB / 0.5679 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.686e-05/0.378, allocations: 8 kB / 0.5679 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.193e-05/0.3781, allocations: 3.938 kB / 0.5679 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.657e-06/0.3781, allocations: 7.984 kB / 0.568 GB, free: 13.59 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.895e-05/0.3782, allocations: 107.3 kB / 0.5681 GB, free: 13.48 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3782, allocations: 0 / 0.5681 GB, free: 13.48 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000324/0.3785, allocations: 47.8 kB / 0.5681 GB, free: 13.43 MB / 414.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.001911/0.3804, allocations: 0.5108 MB / 0.5686 GB, free: 13.14 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002313/0.3807, allocations: 55.89 kB / 0.5687 GB, free: 13.08 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.3807, allocations: 4 kB / 0.5687 GB, free: 13.08 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001011/0.3808, allocations: 23.98 kB / 0.5687 GB, free: 13.05 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003714/0.3811, allocations: 28.8 kB / 0.5687 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004823/0.3816, allocations: 169.6 kB / 0.5689 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.028e-05/0.3817, allocations: 82.95 kB / 0.569 GB, free: 12.74 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.569e-05/0.3818, allocations: 27.7 kB / 0.569 GB, free: 12.71 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.903e-05/0.3818, allocations: 23.41 kB / 0.569 GB, free: 12.7 MB / 414.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3818, allocations: 0 / 0.569 GB, free: 12.7 MB / 414.1 MB Notification: Performance of Templates: time 0.005401/0.3872, allocations: 1.842 MB / 0.5708 GB, free: 10.87 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.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.066606103006052]