Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.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.001742/0.001742, allocations: 111 kB / 21.18 MB, free: 0.6758 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.002204/0.002204, allocations: 206.6 kB / 24.47 MB, free: 3.977 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.447/1.447, allocations: 230.6 MB / 258.2 MB, free: 7.797 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.2394/0.2394, allocations: 46.97 MB / 361.6 MB, free: 4.059 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.CombiTable2Ds.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001982/0.001982, allocations: 67.91 kB / 0.4973 GB, free: 7.234 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3639/0.3658, allocations: 66.03 MB / 0.5618 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test9): time 0.003036/0.3689, allocations: 1.608 MB / 0.5634 GB, free: 2.586 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001018/0.3699, allocations: 0.5183 MB / 0.5639 GB, free: 2.062 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.921e-05/0.3699, allocations: 0 / 0.5639 GB, free: 2.062 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006242/0.3706, allocations: 455.2 kB / 0.5643 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005001/0.3711, allocations: 291.3 kB / 0.5646 GB, free: 1.332 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003278/0.3714, allocations: 135.4 kB / 0.5647 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002322/0.3716, allocations: 171.6 kB / 0.5649 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.999e-05/0.3717, allocations: 8 kB / 0.5649 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001246/0.3718, allocations: 111.7 kB / 0.565 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002595/0.3721, allocations: 247.5 kB / 0.5653 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.999e-05/0.3721, allocations: 4 kB / 0.5653 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.219e-05/0.3722, allocations: 23.98 kB / 0.5653 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001077/0.3723, allocations: 83.69 kB / 0.5654 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.61e-05/0.3724, allocations: 71.17 kB / 0.5654 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003204/0.3727, allocations: 261 kB / 0.5657 GB, free: 252 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.3727, allocations: 0 / 0.5657 GB, free: 252 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3727, allocations: 0 / 0.5657 GB, free: 252 kB / 398.1 MB Notification: Performance of Transformations before backend: time 7.655e-06/0.3727, allocations: 4 kB / 0.5657 GB, free: 248 kB / 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.0008044/0.3735, allocations: 0.5777 MB / 0.5662 GB, free: 15.63 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.3735, allocations: 12.03 kB / 0.5663 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.253e-05/0.3736, allocations: 40.66 kB / 0.5663 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003304/0.3739, allocations: 246.8 kB / 0.5665 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.374, allocations: 384 / 0.5665 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.134e-05/0.374, allocations: 384 / 0.5665 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001728/0.3741, allocations: 66.72 kB / 0.5666 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.3741, allocations: 0 / 0.5666 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.3742, allocations: 4 kB / 0.5666 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.3742, allocations: 0 / 0.5666 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001505/0.3743, allocations: 35.97 kB / 0.5666 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004438/0.3748, allocations: 320.4 kB / 0.5669 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001256/0.3749, allocations: 38.5 kB / 0.567 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.103e-05/0.3749, allocations: 24.94 kB / 0.567 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.568e-05/0.375, allocations: 0 / 0.567 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/0.375, allocations: 34.55 kB / 0.567 GB, free: 14.75 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 8.41e-07/0.375, allocations: 4 kB / 0.567 GB, free: 14.74 MB / 414.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003412/0.3753, allocations: 121.4 kB / 0.5672 GB, free: 14.62 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.71e-05/0.3754, allocations: 59.28 kB / 0.5672 GB, free: 14.55 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008875/0.3763, allocations: 0.8652 MB / 0.5681 GB, free: 13.67 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/0.3763, allocations: 25.7 kB / 0.5681 GB, free: 13.64 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000185/0.3765, allocations: 212.1 kB / 0.5683 GB, free: 13.43 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.187e-05/0.3765, allocations: 7.953 kB / 0.5683 GB, free: 13.42 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.537e-05/0.3765, allocations: 13.7 kB / 0.5683 GB, free: 13.4 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002526/0.3768, allocations: 362.8 kB / 0.5686 GB, free: 13.04 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.518e-05/0.3768, allocations: 15.98 kB / 0.5687 GB, free: 13.02 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.116e-05/0.3769, allocations: 15.98 kB / 0.5687 GB, free: 13 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001211/0.377, allocations: 49.03 kB / 0.5687 GB, free: 12.95 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.377, allocations: 0 / 0.5687 GB, free: 12.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002028/0.3772, allocations: 105.3 kB / 0.5688 GB, free: 12.84 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.3772, allocations: 4 kB / 0.5688 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.3772, allocations: 7.938 kB / 0.5688 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.3773, allocations: 0 / 0.5688 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.473e-05/0.3773, allocations: 15.92 kB / 0.5689 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.3773, allocations: 7.984 kB / 0.5689 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.348e-05/0.3774, allocations: 3.984 kB / 0.5689 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.3774, allocations: 4 kB / 0.5689 GB, free: 12.8 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 (3): * Single equations (assignments): 3 * 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.0002287/0.3776, allocations: 213.7 kB / 0.5691 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.298e-05/0.3777, allocations: 39.72 kB / 0.5691 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002812/0.378, allocations: 121.1 kB / 0.5692 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.378, allocations: 0 / 0.5692 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.378, allocations: 4 kB / 0.5692 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.378, allocations: 0 / 0.5692 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002764/0.3783, allocations: 237.1 kB / 0.5695 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3783, allocations: 0 / 0.5695 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.836e-05/0.3783, allocations: 15.92 kB / 0.5695 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.3783, allocations: 0 / 0.5695 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.3783, allocations: 0 / 0.5695 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.3783, allocations: 0 / 0.5695 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.3783, allocations: 0 / 0.5695 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002691/0.3786, allocations: 211.2 kB / 0.5697 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.647e-05/0.3787, allocations: 35.72 kB / 0.5697 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.428e-05/0.3787, allocations: 0 / 0.5697 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.525e-05/0.3788, allocations: 8 kB / 0.5697 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.702e-05/0.3788, allocations: 7.984 kB / 0.5697 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-06/0.3788, allocations: 0 / 0.5697 GB, free: 11.86 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007451/0.3795, allocations: 0.6472 MB / 0.5704 GB, free: 11.21 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3795, allocations: 0 / 0.5704 GB, free: 11.21 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002511/0.3798, allocations: 19.94 kB / 0.5704 GB, free: 11.19 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 (3): * Single equations (assignments): 3 * 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.00146/0.3813, allocations: 388 kB / 0.5707 GB, free: 10.96 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001841/0.3814, allocations: 31.97 kB / 0.5708 GB, free: 10.93 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3814, allocations: 0 / 0.5708 GB, free: 10.93 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.309e-05/0.3815, allocations: 23.98 kB / 0.5708 GB, free: 10.9 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004038/0.3819, allocations: 25.89 kB / 0.5708 GB, free: 10.88 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001219/0.3831, allocations: 0.7944 MB / 0.5716 GB, free: 10.05 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002408/0.3834, allocations: 216.1 kB / 0.5718 GB, free: 9.824 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.774e-05/0.3834, allocations: 11.73 kB / 0.5718 GB, free: 9.812 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.306e-05/0.3835, allocations: 11.44 kB / 0.5718 GB, free: 9.801 MB / 414.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3835, allocations: 0 / 0.5718 GB, free: 9.801 MB / 414.1 MB Notification: Performance of Templates: time 0.00514/0.3886, allocations: 1.494 MB / 0.5733 GB, free: 8.324 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.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: 4.99849343499227]