Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.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.001296/0.001296, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001508/0.001508, allocations: 212.8 kB / 23.73 MB, free: 4.387 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.568/1.568, allocations: 230.6 MB / 257.5 MB, free: 7.777 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.2316/0.2316, allocations: 44.94 MB / 358.8 MB, free: 6.004 MB / 286.1 MB " [Timeout remaining time 180] 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.CombiTable2Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30") [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.002102/0.002102, allocations: 75.88 kB / 0.4935 GB, free: 9.949 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.361/0.3631, allocations: 65.46 MB / 0.5575 GB, free: 7.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test30): time 0.003317/0.3664, allocations: 1.665 MB / 0.5591 GB, free: 5.734 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001119/0.3675, allocations: 0.5271 MB / 0.5596 GB, free: 5.203 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.3e-05/0.3676, allocations: 8 kB / 0.5596 GB, free: 5.195 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002873/0.3679, allocations: 71.7 kB / 0.5597 GB, free: 5.125 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003427/0.3682, allocations: 111.6 kB / 0.5598 GB, free: 5.016 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003742/0.3686, allocations: 135.3 kB / 0.5599 GB, free: 4.887 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001756/0.3687, allocations: 95.75 kB / 0.56 GB, free: 4.793 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.3689, allocations: 12.22 kB / 0.56 GB, free: 4.777 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.9e-05/0.3689, allocations: 39.83 kB / 0.5601 GB, free: 4.738 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001303/0.3691, allocations: 59.8 kB / 0.5601 GB, free: 4.68 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.64e-05/0.3691, allocations: 4 kB / 0.5601 GB, free: 4.676 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001144/0.3692, allocations: 51.98 kB / 0.5602 GB, free: 4.625 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.734e-05/0.3693, allocations: 27.86 kB / 0.5602 GB, free: 4.598 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.633e-05/0.3693, allocations: 19.81 kB / 0.5602 GB, free: 4.578 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002285/0.3695, allocations: 129.8 kB / 0.5603 GB, free: 4.457 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3695, allocations: 0 / 0.5603 GB, free: 4.457 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3695, allocations: 4 kB / 0.5604 GB, free: 4.453 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.3695, allocations: 0 / 0.5604 GB, free: 4.453 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005941/0.3701, allocations: 353.6 kB / 0.5607 GB, free: 4.078 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.3702, allocations: 8.031 kB / 0.5607 GB, free: 4.07 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.469e-05/0.3702, allocations: 8.891 kB / 0.5607 GB, free: 4.062 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002202/0.3704, allocations: 150.9 kB / 0.5609 GB, free: 3.891 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.3705, allocations: 8.312 kB / 0.5609 GB, free: 3.883 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.532e-05/0.3705, allocations: 4.375 kB / 0.5609 GB, free: 3.879 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001905/0.3707, allocations: 65.8 kB / 0.5609 GB, free: 3.809 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.3707, allocations: 4 kB / 0.5609 GB, free: 3.805 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.908e-06/0.3707, allocations: 0 / 0.5609 GB, free: 3.805 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.3707, allocations: 4 kB / 0.5609 GB, free: 3.801 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001537/0.3709, allocations: 43.89 kB / 0.561 GB, free: 3.758 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004107/0.3713, allocations: 248.4 kB / 0.5612 GB, free: 3.484 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002611/0.3715, allocations: 58.58 kB / 0.5613 GB, free: 3.418 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.31e-05/0.3716, allocations: 24.97 kB / 0.5613 GB, free: 3.391 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.847e-05/0.3716, allocations: 4 kB / 0.5613 GB, free: 3.387 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/0.3717, allocations: 34.56 kB / 0.5613 GB, free: 3.344 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.3717, allocations: 0 / 0.5613 GB, free: 3.344 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001528/0.3732, allocations: 389 kB / 0.5617 GB, free: 2.957 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.511e-05/0.3732, allocations: 51.41 kB / 0.5617 GB, free: 2.895 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000234/0.3735, allocations: 210.2 kB / 0.5619 GB, free: 2.68 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.228e-05/0.3735, allocations: 33.7 kB / 0.562 GB, free: 2.641 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.935e-05/0.3736, allocations: 112.1 kB / 0.5621 GB, free: 2.527 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.116e-05/0.3736, allocations: 35.69 kB / 0.5621 GB, free: 2.492 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.598e-05/0.3737, allocations: 21.72 kB / 0.5621 GB, free: 2.465 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.3738, allocations: 330.8 kB / 0.5625 GB, free: 2.133 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000136/0.374, allocations: 47.84 kB / 0.5625 GB, free: 2.086 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001193/0.3741, allocations: 40.53 kB / 0.5625 GB, free: 2.047 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000253/0.3743, allocations: 100.8 kB / 0.5626 GB, free: 1.945 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3743, allocations: 0 / 0.5626 GB, free: 1.945 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003257/0.3747, allocations: 149.5 kB / 0.5628 GB, free: 1.793 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.887e-05/0.3747, allocations: 6.812 kB / 0.5628 GB, free: 1.789 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.3747, allocations: 4 kB / 0.5628 GB, free: 1.785 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/0.3747, allocations: 4 kB / 0.5628 GB, free: 1.781 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001186/0.3748, allocations: 31.92 kB / 0.5628 GB, free: 1.75 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.864e-06/0.3748, allocations: 3.938 kB / 0.5628 GB, free: 1.746 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.775e-05/0.3749, allocations: 11.98 kB / 0.5628 GB, free: 1.734 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.756e-06/0.3749, allocations: 0 / 0.5628 GB, free: 1.734 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 (11): * Single equations (assignments): 11 * 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.0001196/0.375, allocations: 129.8 kB / 0.563 GB, free: 1.598 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.045e-05/0.3751, allocations: 15.91 kB / 0.563 GB, free: 1.582 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004191/0.3755, allocations: 174.9 kB / 0.5631 GB, free: 1.395 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.3755, allocations: 0 / 0.5631 GB, free: 1.395 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/0.3755, allocations: 3.938 kB / 0.5631 GB, free: 1.391 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.3755, allocations: 3.984 kB / 0.5632 GB, free: 1.387 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006632/0.3762, allocations: 399.8 kB / 0.5635 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.3762, allocations: 3.938 kB / 0.5635 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001152/0.3763, allocations: 39.97 kB / 0.5636 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.3763, allocations: 3.938 kB / 0.5636 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/0.3763, allocations: 4 kB / 0.5636 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.107e-06/0.3763, allocations: 4 kB / 0.5636 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3763, allocations: 0 / 0.5636 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003801/0.3767, allocations: 249.6 kB / 0.5638 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.217e-05/0.3767, allocations: 15.84 kB / 0.5638 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.142e-05/0.3767, allocations: 4 kB / 0.5638 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.657e-05/0.3768, allocations: 15.98 kB / 0.5639 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.92e-05/0.3769, allocations: 7.984 kB / 0.5639 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.068e-05/0.3769, allocations: 8 kB / 0.5639 GB, free: 0.582 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001564/0.377, allocations: 164.2 kB / 0.564 GB, free: 432 kB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.377, allocations: 0 / 0.564 GB, free: 432 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002809/0.3773, allocations: 23.94 kB / 0.5641 GB, free: 408 kB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001936/0.3793, allocations: 497.2 kB / 0.5645 GB, free: 124 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004075/0.3797, allocations: 111.8 kB / 0.5646 GB, free: 12 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3797, allocations: 0 / 0.5646 GB, free: 12 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001674/0.3798, allocations: 63.95 kB / 0.5647 GB, free: 15.95 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000419/0.3802, allocations: 24.75 kB / 0.5647 GB, free: 15.93 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000691/0.3809, allocations: 304.8 kB / 0.565 GB, free: 15.6 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001345/0.3811, allocations: 105.7 kB / 0.5651 GB, free: 15.48 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.826e-05/0.3811, allocations: 20.53 kB / 0.5651 GB, free: 15.46 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.452e-05/0.3812, allocations: 15.44 kB / 0.5651 GB, free: 15.44 MB / 414.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3812, allocations: 3.938 kB / 0.5651 GB, free: 15.44 MB / 414.1 MB Notification: Performance of Templates: time 0.005637/0.3868, allocations: 1.63 MB / 0.5667 GB, free: 13.82 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.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.233379701152444]