Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test10.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.001324/0.001324, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001686/0.001686, allocations: 209.8 kB / 24.49 MB, free: 4.133 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.508/1.508, allocations: 230.6 MB / 258.3 MB, free: 8.234 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.2427/0.2427, allocations: 46.93 MB / 361.6 MB, free: 4.312 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.CombiTable2Dv.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test10") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test10") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001959/0.001959, allocations: 75.89 kB / 0.4974 GB, free: 7.395 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3514/0.3533, allocations: 66.02 MB / 0.5619 GB, free: 4.438 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test10): time 0.00347/0.3568, allocations: 1.684 MB / 0.5635 GB, free: 2.742 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002066/0.3589, allocations: 1.298 MB / 0.5648 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.676e-05/0.3589, allocations: 7.938 kB / 0.5648 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002373/0.3592, allocations: 23.86 kB / 0.5648 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003276/0.3595, allocations: 83.61 kB / 0.5649 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004729/0.36, allocations: 179.2 kB / 0.5651 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001766/0.3602, allocations: 83.75 kB / 0.5652 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.3603, allocations: 8 kB / 0.5652 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.424e-05/0.3603, allocations: 35.8 kB / 0.5652 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001756/0.3605, allocations: 43.83 kB / 0.5652 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.632e-05/0.3605, allocations: 4 kB / 0.5652 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001861/0.3607, allocations: 91.94 kB / 0.5653 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.887e-05/0.3608, allocations: 31.8 kB / 0.5654 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.773e-05/0.3608, allocations: 31.78 kB / 0.5654 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002855/0.3611, allocations: 153.9 kB / 0.5655 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.3611, allocations: 4 kB / 0.5655 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3611, allocations: 0 / 0.5655 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.977e-06/0.3611, allocations: 0 / 0.5655 GB, free: 0.6797 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.000557/0.3617, allocations: 333.7 kB / 0.5659 GB, free: 332 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.3617, allocations: 15.97 kB / 0.5659 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.383e-05/0.3618, allocations: 8.891 kB / 0.5659 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002208/0.362, allocations: 134.4 kB / 0.566 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.486e-06/0.362, allocations: 4.375 kB / 0.566 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.608e-05/0.362, allocations: 4.375 kB / 0.566 GB, free: 140 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001937/0.3622, allocations: 83.5 kB / 0.5661 GB, free: 44 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.3622, allocations: 0 / 0.5661 GB, free: 44 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/0.3622, allocations: 4 kB / 0.5661 GB, free: 40 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.3622, allocations: 0 / 0.5661 GB, free: 40 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000169/0.3624, allocations: 39.95 kB / 0.5661 GB, free: 16 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000465/0.3629, allocations: 283.7 kB / 0.5664 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000142/0.363, allocations: 50.53 kB / 0.5665 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.26e-05/0.3631, allocations: 24.94 kB / 0.5665 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.346e-05/0.3631, allocations: 4.062 kB / 0.5665 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.798e-05/0.3631, allocations: 34.5 kB / 0.5665 GB, free: 15.55 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.3631, allocations: 4 kB / 0.5665 GB, free: 15.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008374/0.364, allocations: 233.3 kB / 0.5667 GB, free: 15.31 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.908e-05/0.364, allocations: 77.11 kB / 0.5668 GB, free: 15.21 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001796/0.3642, allocations: 155.9 kB / 0.567 GB, free: 15.05 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/0.3642, allocations: 25.7 kB / 0.567 GB, free: 15.02 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.594e-05/0.3643, allocations: 100.1 kB / 0.5671 GB, free: 14.92 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.587e-05/0.3643, allocations: 27.78 kB / 0.5671 GB, free: 14.89 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.564e-05/0.3644, allocations: 21.72 kB / 0.5671 GB, free: 14.87 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.3646, allocations: 318.8 kB / 0.5674 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001193/0.3647, allocations: 35.97 kB / 0.5675 GB, free: 14.51 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001241/0.3648, allocations: 57.69 kB / 0.5675 GB, free: 14.45 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000236/0.365, allocations: 88.78 kB / 0.5676 GB, free: 14.36 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.365, allocations: 0 / 0.5676 GB, free: 14.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002903/0.3653, allocations: 133.8 kB / 0.5677 GB, free: 14.22 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.3653, allocations: 4 kB / 0.5677 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.3654, allocations: 3.984 kB / 0.5677 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.3654, allocations: 4 kB / 0.5678 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/0.3655, allocations: 15.98 kB / 0.5678 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.3655, allocations: 0 / 0.5678 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.574e-05/0.3656, allocations: 15.92 kB / 0.5678 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.653e-06/0.3656, allocations: 3.938 kB / 0.5678 GB, free: 14.18 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 (7): * Single equations (assignments): 7 * 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.0001116/0.3657, allocations: 125.8 kB / 0.5679 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.577e-05/0.3657, allocations: 7.953 kB / 0.5679 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003677/0.3661, allocations: 138.3 kB / 0.568 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.3661, allocations: 0 / 0.568 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.3661, allocations: 0 / 0.568 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.3661, allocations: 7.922 kB / 0.5681 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005917/0.3667, allocations: 389.5 kB / 0.5684 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.3667, allocations: 4 kB / 0.5684 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.672e-05/0.3668, allocations: 23.86 kB / 0.5685 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.3668, allocations: 0 / 0.5685 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.3668, allocations: 7.938 kB / 0.5685 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.3668, allocations: 0 / 0.5685 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.3668, allocations: 0 / 0.5685 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003485/0.3671, allocations: 219.4 kB / 0.5687 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.006e-05/0.3672, allocations: 11.95 kB / 0.5687 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.207e-05/0.3672, allocations: 7.922 kB / 0.5687 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.3673, allocations: 8 kB / 0.5687 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.064e-05/0.3673, allocations: 3.984 kB / 0.5687 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.997e-06/0.3673, allocations: 12 kB / 0.5687 GB, free: 13.14 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.61e-05/0.3674, allocations: 109.1 kB / 0.5688 GB, free: 13.04 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3674, allocations: 4 kB / 0.5688 GB, free: 13.03 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002915/0.3677, allocations: 43.86 kB / 0.5689 GB, free: 12.99 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 (7): * Single equations (assignments): 7 * 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.00178/0.3695, allocations: 0.5009 MB / 0.5693 GB, free: 12.68 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003352/0.3698, allocations: 87.92 kB / 0.5694 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.3698, allocations: 4 kB / 0.5694 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001312/0.37, allocations: 47.91 kB / 0.5695 GB, free: 12.54 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003673/0.3703, allocations: 17.09 kB / 0.5695 GB, free: 12.53 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005681/0.3709, allocations: 247.5 kB / 0.5697 GB, free: 12.25 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003642/0.3713, allocations: 0.7002 MB / 0.5704 GB, free: 11.53 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.86e-05/0.3713, allocations: 27.42 kB / 0.5704 GB, free: 11.5 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3713, allocations: 0 / 0.5704 GB, free: 11.5 MB / 414.1 MB Notification: Performance of Templates: time 0.004583/0.3759, allocations: 2.189 MB / 0.5726 GB, free: 9.309 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test10.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test10.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test10/Test10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test10.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.906122307060286]