Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test28.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.001979/0.001979, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001769/0.001769, allocations: 210.8 kB / 23.73 MB, free: 4.523 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.532/1.532, 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.2592/0.2592, allocations: 46.95 MB / 360.9 MB, free: 4.055 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.CombiTable2Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test28") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test28") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002127/0.002127, allocations: 71.89 kB / 0.4966 GB, free: 7.195 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3514/0.3535, allocations: 66.03 MB / 0.5611 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test28): time 0.003352/0.3568, allocations: 1.667 MB / 0.5627 GB, free: 2.508 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001192/0.358, allocations: 0.5622 MB / 0.5633 GB, free: 1.941 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.491e-05/0.3581, allocations: 3.938 kB / 0.5633 GB, free: 1.938 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002461/0.3583, allocations: 55.8 kB / 0.5633 GB, free: 1.883 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003253/0.3587, allocations: 95.59 kB / 0.5634 GB, free: 1.789 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004451/0.3591, allocations: 183 kB / 0.5636 GB, free: 1.613 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001935/0.3593, allocations: 87.77 kB / 0.5637 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001285/0.3594, allocations: 28.16 kB / 0.5637 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.211e-05/0.3595, allocations: 39.83 kB / 0.5638 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001179/0.3596, allocations: 55.75 kB / 0.5638 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.272e-05/0.3596, allocations: 4 kB / 0.5638 GB, free: 1.398 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001285/0.3598, allocations: 47.98 kB / 0.5639 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.736e-05/0.3599, allocations: 23.92 kB / 0.5639 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.798e-05/0.3599, allocations: 31.78 kB / 0.5639 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002187/0.3601, allocations: 117.9 kB / 0.564 GB, free: 1.188 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.3601, allocations: 0 / 0.564 GB, free: 1.188 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3601, allocations: 0 / 0.564 GB, free: 1.188 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.313e-06/0.3601, allocations: 4 kB / 0.564 GB, free: 1.184 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.0006116/0.3607, allocations: 353.5 kB / 0.5644 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.3608, allocations: 8.031 kB / 0.5644 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.542e-05/0.3608, allocations: 12.84 kB / 0.5644 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002205/0.3611, allocations: 138.4 kB / 0.5645 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.3611, allocations: 8.375 kB / 0.5645 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.168e-05/0.3611, allocations: 8.359 kB / 0.5645 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002034/0.3613, allocations: 73.67 kB / 0.5646 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.3613, allocations: 0 / 0.5646 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.3613, allocations: 8 kB / 0.5646 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.3613, allocations: 0 / 0.5646 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001585/0.3615, allocations: 43.95 kB / 0.5647 GB, free: 496 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004864/0.362, allocations: 264.3 kB / 0.5649 GB, free: 200 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002589/0.3622, allocations: 54.55 kB / 0.565 GB, free: 136 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.681e-05/0.3623, allocations: 28.95 kB / 0.565 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.3623, allocations: 8 kB / 0.565 GB, free: 96 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.3624, allocations: 34.56 kB / 0.565 GB, free: 52 kB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.3624, allocations: 0 / 0.565 GB, free: 52 kB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001644/0.364, allocations: 417.5 kB / 0.5654 GB, free: 15.64 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.589e-05/0.3641, allocations: 55.39 kB / 0.5655 GB, free: 15.57 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002138/0.3643, allocations: 195.2 kB / 0.5657 GB, free: 15.37 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.241e-05/0.3643, allocations: 29.7 kB / 0.5657 GB, free: 15.34 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.03e-05/0.3644, allocations: 108.1 kB / 0.5658 GB, free: 15.23 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.273e-05/0.3644, allocations: 39.62 kB / 0.5658 GB, free: 15.19 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.556e-05/0.3645, allocations: 29.7 kB / 0.5659 GB, free: 15.15 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.3646, allocations: 326.8 kB / 0.5662 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001548/0.3648, allocations: 51.91 kB / 0.5662 GB, free: 14.77 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001387/0.3649, allocations: 56 kB / 0.5663 GB, free: 14.72 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003069/0.3652, allocations: 133.1 kB / 0.5664 GB, free: 14.59 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.3652, allocations: 4 kB / 0.5664 GB, free: 14.58 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003655/0.3656, allocations: 169.5 kB / 0.5666 GB, free: 14.41 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.3656, allocations: 4 kB / 0.5666 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.3656, allocations: 3.938 kB / 0.5666 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.3656, allocations: 0 / 0.5666 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.3658, allocations: 31.98 kB / 0.5666 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.3658, allocations: 7.922 kB / 0.5666 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.277e-05/0.3658, allocations: 8 kB / 0.5666 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.185e-05/0.3658, allocations: 4 kB / 0.5666 GB, free: 14.35 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 (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.0001174/0.366, allocations: 129.8 kB / 0.5667 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.137e-05/0.366, allocations: 11.91 kB / 0.5668 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004732/0.3665, allocations: 194.9 kB / 0.5669 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.3665, allocations: 4 kB / 0.5669 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.3665, allocations: 3.938 kB / 0.567 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.3665, allocations: 0 / 0.567 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007648/0.3673, allocations: 439.7 kB / 0.5674 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3673, allocations: 0 / 0.5674 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001165/0.3674, allocations: 28.05 kB / 0.5674 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-06/0.3674, allocations: 7.875 kB / 0.5674 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.3674, allocations: 4 kB / 0.5674 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.3674, allocations: 0 / 0.5674 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.3674, allocations: 0 / 0.5674 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000448/0.3678, allocations: 273 kB / 0.5677 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.567e-05/0.3679, allocations: 19.84 kB / 0.5677 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.512e-05/0.3679, allocations: 3.984 kB / 0.5677 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.368, allocations: 12 kB / 0.5677 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.593e-05/0.3681, allocations: 11.98 kB / 0.5677 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.21e-05/0.3681, allocations: 7.984 kB / 0.5677 GB, free: 13.13 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001371/0.3682, allocations: 145.8 kB / 0.5679 GB, free: 12.99 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3682, allocations: 0 / 0.5679 GB, free: 12.99 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000285/0.3685, allocations: 27.92 kB / 0.5679 GB, free: 12.96 MB / 414.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.001874/0.3704, allocations: 0.4969 MB / 0.5684 GB, free: 12.68 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003672/0.3707, allocations: 119.8 kB / 0.5685 GB, free: 12.56 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3707, allocations: 0 / 0.5685 GB, free: 12.56 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001925/0.3709, allocations: 76.02 kB / 0.5686 GB, free: 12.48 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003708/0.3713, allocations: 17.97 kB / 0.5686 GB, free: 12.47 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007346/0.372, allocations: 316.1 kB / 0.5689 GB, free: 12.13 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001353/0.3722, allocations: 108.7 kB / 0.569 GB, free: 12 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001081/0.3723, allocations: 32.33 kB / 0.569 GB, free: 11.97 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.883e-05/0.3723, allocations: 15.44 kB / 0.569 GB, free: 11.96 MB / 414.1 MB Notification: Performance of SimCode: time 6.91e-07/0.3723, allocations: 0 / 0.569 GB, free: 11.96 MB / 414.1 MB Notification: Performance of Templates: time 0.005282/0.3776, allocations: 1.742 MB / 0.5707 GB, free: 10.23 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test28.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test28.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test28/Test28.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test28.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.277955661062151]