Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001838/0.001838, allocations: 108.4 kB / 21.17 MB, free: 0.7852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003067/0.003067, allocations: 217.3 kB / 24.47 MB, free: 4.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.527/1.527, allocations: 230.2 MB / 257.8 MB, free: 8.5 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2523/0.2523, allocations: 46.89 MB / 361.1 MB, free: 4.629 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,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-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,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-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002612/0.002612, allocations: 75.88 kB / 0.4968 GB, free: 7.762 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3386/0.3412, allocations: 65.99 MB / 0.5612 GB, free: 5.008 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.003167/0.3444, allocations: 1.696 MB / 0.5629 GB, free: 3.305 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001128/0.3455, allocations: 0.6044 MB / 0.5635 GB, free: 2.699 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.76e-05/0.3456, allocations: 3.938 kB / 0.5635 GB, free: 2.695 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000639/0.3462, allocations: 459.1 kB / 0.5639 GB, free: 2.246 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005496/0.3467, allocations: 295.3 kB / 0.5642 GB, free: 1.957 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005065/0.3472, allocations: 178.8 kB / 0.5644 GB, free: 1.785 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002837/0.3475, allocations: 175.7 kB / 0.5645 GB, free: 1.613 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.3477, allocations: 20.22 kB / 0.5646 GB, free: 1.59 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001488/0.3478, allocations: 119.6 kB / 0.5647 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003047/0.3481, allocations: 247.5 kB / 0.5649 GB, free: 1.23 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.908e-05/0.3481, allocations: 4 kB / 0.5649 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001181/0.3482, allocations: 51.98 kB / 0.565 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000119/0.3484, allocations: 91.61 kB / 0.5651 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001167/0.3485, allocations: 111 kB / 0.5652 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003853/0.3489, allocations: 289.2 kB / 0.5654 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.3489, allocations: 0 / 0.5654 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.3489, allocations: 0 / 0.5654 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.3489, allocations: 0 / 0.5654 GB, free: 0.6953 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.0008601/0.3497, allocations: 0.6647 MB / 0.5661 GB, free: 15.98 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.3498, allocations: 8.031 kB / 0.5661 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.74e-05/0.3498, allocations: 52.61 kB / 0.5661 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004184/0.3503, allocations: 304.6 kB / 0.5664 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.961e-06/0.3503, allocations: 4.312 kB / 0.5664 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.916e-05/0.3503, allocations: 8.375 kB / 0.5664 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001836/0.3505, allocations: 66.22 kB / 0.5665 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.68e-05/0.3505, allocations: 7.922 kB / 0.5665 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.3505, allocations: 0 / 0.5665 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.3505, allocations: 7.938 kB / 0.5665 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001567/0.3507, allocations: 47.95 kB / 0.5666 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005918/0.3513, allocations: 420.5 kB / 0.567 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002491/0.3515, allocations: 54.55 kB / 0.567 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.958e-05/0.3516, allocations: 24.97 kB / 0.567 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.243e-05/0.3516, allocations: 16.02 kB / 0.5671 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/0.3516, allocations: 30.56 kB / 0.5671 GB, free: 14.83 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.3516, allocations: 0 / 0.5671 GB, free: 14.83 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.001606/0.3532, allocations: 0.4967 MB / 0.5676 GB, free: 14.32 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.548e-05/0.3533, allocations: 59.41 kB / 0.5676 GB, free: 14.25 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008819/0.3542, allocations: 0.8652 MB / 0.5685 GB, free: 13.38 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.822e-05/0.3542, allocations: 29.64 kB / 0.5685 GB, free: 13.34 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001972/0.3544, allocations: 216.1 kB / 0.5687 GB, free: 13.13 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.434e-05/0.3544, allocations: 35.69 kB / 0.5687 GB, free: 13.09 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.78e-05/0.3545, allocations: 29.72 kB / 0.5688 GB, free: 13.06 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001879/0.3547, allocations: 362.8 kB / 0.5691 GB, free: 12.7 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001527/0.3548, allocations: 51.97 kB / 0.5692 GB, free: 12.64 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001396/0.355, allocations: 55.89 kB / 0.5692 GB, free: 12.59 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000289/0.3553, allocations: 128.7 kB / 0.5693 GB, free: 12.46 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.3553, allocations: 0 / 0.5693 GB, free: 12.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004142/0.3557, allocations: 205.6 kB / 0.5695 GB, free: 12.25 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.3557, allocations: 4 kB / 0.5695 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.3557, allocations: 0 / 0.5695 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.3557, allocations: 0 / 0.5695 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.3558, allocations: 27.97 kB / 0.5696 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/0.3559, allocations: 7.875 kB / 0.5696 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.859e-05/0.3559, allocations: 15.94 kB / 0.5696 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.3559, allocations: 4 kB / 0.5696 GB, free: 12.2 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.0002238/0.3562, allocations: 217.8 kB / 0.5698 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.796e-05/0.3562, allocations: 43.72 kB / 0.5698 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005018/0.3567, allocations: 233.4 kB / 0.5701 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.72e-06/0.3567, allocations: 4 kB / 0.5701 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.3567, allocations: 3.938 kB / 0.5701 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.3567, allocations: 0 / 0.5701 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009114/0.3577, allocations: 0.5937 MB / 0.5707 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.3577, allocations: 3.938 kB / 0.5707 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001286/0.3578, allocations: 31.92 kB / 0.5707 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.98e-06/0.3578, allocations: 7.984 kB / 0.5707 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.3578, allocations: 0 / 0.5707 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.3578, allocations: 8.062 kB / 0.5707 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3578, allocations: 4.125 kB / 0.5707 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004553/0.3583, allocations: 296.9 kB / 0.571 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001085/0.3584, allocations: 120.8 kB / 0.5711 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.217e-05/0.3584, allocations: 4 kB / 0.5711 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001168/0.3585, allocations: 19.92 kB / 0.5711 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.933e-05/0.3586, allocations: 8.078 kB / 0.5711 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.457e-06/0.3586, allocations: 7.938 kB / 0.5711 GB, free: 10.48 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000707/0.3593, allocations: 0.6511 MB / 0.5718 GB, free: 9.832 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3593, allocations: 0 / 0.5718 GB, free: 9.832 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002954/0.3596, allocations: 39.92 kB / 0.5718 GB, free: 9.793 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.001713/0.3613, allocations: 452.8 kB / 0.5723 GB, free: 9.52 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004136/0.3617, allocations: 127.8 kB / 0.5724 GB, free: 9.395 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3617, allocations: 3.938 kB / 0.5724 GB, free: 9.391 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001651/0.3619, allocations: 67.89 kB / 0.5724 GB, free: 9.324 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004081/0.3623, allocations: 30.23 kB / 0.5725 GB, free: 9.297 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001393/0.3637, allocations: 0.9019 MB / 0.5734 GB, free: 8.359 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005411/0.3642, allocations: 0.8299 MB / 0.5742 GB, free: 7.504 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001007/0.3643, allocations: 32.52 kB / 0.5742 GB, free: 7.473 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.927e-05/0.3644, allocations: 27.42 kB / 0.5742 GB, free: 7.449 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3644, allocations: 0 / 0.5742 GB, free: 7.449 MB / 414.1 MB Notification: Performance of Templates: time 0.005937/0.3703, allocations: 1.974 MB / 0.5761 GB, free: 5.48 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3.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.282073264010251]