Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test1.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.008561/0.008561, allocations: 104 kB / 21.98 MB, free: 5.211 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.001771/0.001771, allocations: 220 kB / 25.29 MB, free: 3.215 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.471/1.471, allocations: 230.5 MB / 258.9 MB, free: 8.016 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.2459/0.2459, allocations: 46.94 MB / 362.3 MB, free: 4.184 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-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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test1") [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.002557/0.002557, allocations: 83.88 kB / 0.4982 GB, free: 7.227 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3636/0.3661, allocations: 66.07 MB / 0.5627 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.003196/0.3693, allocations: 1.706 MB / 0.5644 GB, free: 2.543 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001093/0.3704, allocations: 0.6083 MB / 0.565 GB, free: 1.934 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.599e-05/0.3705, allocations: 0 / 0.565 GB, free: 1.934 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006002/0.3711, allocations: 451.1 kB / 0.5654 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005185/0.3716, allocations: 295.3 kB / 0.5657 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004779/0.3721, allocations: 178.8 kB / 0.5659 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002611/0.3723, allocations: 183.6 kB / 0.5661 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.3725, allocations: 8.234 kB / 0.5661 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001322/0.3726, allocations: 123.7 kB / 0.5662 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002921/0.3729, allocations: 251.5 kB / 0.5664 GB, free: 484 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.932e-05/0.3729, allocations: 0 / 0.5664 GB, free: 484 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001181/0.373, allocations: 55.97 kB / 0.5665 GB, free: 428 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000116/0.3731, allocations: 87.62 kB / 0.5666 GB, free: 340 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001146/0.3732, allocations: 107 kB / 0.5667 GB, free: 232 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003764/0.3736, allocations: 285 kB / 0.5669 GB, free: 15.95 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3736, allocations: 4 kB / 0.5669 GB, free: 15.95 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.3736, allocations: 0 / 0.5669 GB, free: 15.95 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.3736, allocations: 0 / 0.5669 GB, free: 15.95 MB / 414.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.0007604/0.3744, allocations: 0.5854 MB / 0.5675 GB, free: 15.32 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.3744, allocations: 8.031 kB / 0.5675 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.759e-05/0.3745, allocations: 48.61 kB / 0.5676 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002892/0.3748, allocations: 246.8 kB / 0.5678 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.3748, allocations: 8.375 kB / 0.5678 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.539e-05/0.3748, allocations: 384 / 0.5678 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001683/0.375, allocations: 66.08 kB / 0.5679 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.665e-05/0.375, allocations: 4.188 kB / 0.5679 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.375, allocations: 3.938 kB / 0.5679 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.375, allocations: 0 / 0.5679 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001118/0.3751, allocations: 39.91 kB / 0.5679 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005511/0.3757, allocations: 383.6 kB / 0.5683 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001143/0.3758, allocations: 46.56 kB / 0.5683 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.681e-05/0.3759, allocations: 20.94 kB / 0.5684 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.816e-05/0.3759, allocations: 0 / 0.5684 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/0.3759, allocations: 34.59 kB / 0.5684 GB, free: 14.34 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 2.976e-06/0.3759, allocations: 3.984 kB / 0.5684 GB, free: 14.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.001018/0.3769, allocations: 320.6 kB / 0.5687 GB, free: 14.02 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.377, allocations: 59.39 kB / 0.5688 GB, free: 13.95 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009341/0.3779, allocations: 0.866 MB / 0.5696 GB, free: 13.07 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.3779, allocations: 29.64 kB / 0.5696 GB, free: 13.04 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001925/0.3781, allocations: 228 kB / 0.5698 GB, free: 12.81 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.279e-05/0.3781, allocations: 23.84 kB / 0.5699 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.517e-05/0.3782, allocations: 25.72 kB / 0.5699 GB, free: 12.75 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001843/0.3784, allocations: 366.7 kB / 0.5702 GB, free: 12.39 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.886e-05/0.3785, allocations: 27.98 kB / 0.5703 GB, free: 12.36 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.207e-05/0.3785, allocations: 35.97 kB / 0.5703 GB, free: 12.32 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001668/0.3787, allocations: 73.05 kB / 0.5704 GB, free: 12.25 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.3787, allocations: 0 / 0.5704 GB, free: 12.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002747/0.379, allocations: 157.2 kB / 0.5705 GB, free: 12.09 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.379, allocations: 6.5 kB / 0.5705 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.379, allocations: 3.984 kB / 0.5705 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.379, allocations: 0 / 0.5705 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.982e-05/0.3791, allocations: 16 kB / 0.5705 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.156e-06/0.3791, allocations: 3.984 kB / 0.5705 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.31e-05/0.3792, allocations: 15.88 kB / 0.5706 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.3792, allocations: 4 kB / 0.5706 GB, free: 12.04 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 (8): * Single equations (assignments): 8 * 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.0002053/0.3794, allocations: 217.8 kB / 0.5708 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.266e-05/0.3795, allocations: 43.72 kB / 0.5708 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003583/0.3798, allocations: 169.5 kB / 0.571 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.3798, allocations: 0 / 0.571 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.3798, allocations: 0 / 0.571 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.026e-05/0.3799, allocations: 11.94 kB / 0.571 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00068/0.3805, allocations: 0.4905 MB / 0.5715 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3805, allocations: 0 / 0.5715 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.68e-05/0.3806, allocations: 15.98 kB / 0.5715 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/0.3806, allocations: 7.938 kB / 0.5715 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.3806, allocations: 0 / 0.5715 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.3806, allocations: 0 / 0.5715 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.3806, allocations: 3.938 kB / 0.5715 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003273/0.381, allocations: 256.1 kB / 0.5717 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.336e-05/0.381, allocations: 39.67 kB / 0.5718 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.953e-05/0.381, allocations: 7.875 kB / 0.5718 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.01e-05/0.3811, allocations: 7.984 kB / 0.5718 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.534e-05/0.3812, allocations: 4 kB / 0.5718 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.185e-06/0.3812, allocations: 11.94 kB / 0.5718 GB, free: 10.67 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006592/0.3818, allocations: 0.655 MB / 0.5724 GB, free: 10.02 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3818, allocations: 0 / 0.5724 GB, free: 10.02 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002743/0.3821, allocations: 31.94 kB / 0.5725 GB, free: 9.988 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001662/0.3838, allocations: 449.7 kB / 0.5729 GB, free: 9.703 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002585/0.384, allocations: 79.91 kB / 0.573 GB, free: 9.625 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.384, allocations: 0 / 0.573 GB, free: 9.625 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001005/0.3841, allocations: 35.92 kB / 0.573 GB, free: 9.59 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004179/0.3846, allocations: 26.3 kB / 0.573 GB, free: 9.566 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001272/0.3858, allocations: 0.8833 MB / 0.5739 GB, free: 8.645 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004666/0.3863, allocations: 0.826 MB / 0.5747 GB, free: 7.789 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.009e-05/0.3863, allocations: 15.44 kB / 0.5747 GB, free: 7.777 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3863, allocations: 0 / 0.5747 GB, free: 7.777 MB / 414.1 MB Notification: Performance of Templates: time 0.00775/0.3941, allocations: 4.062 MB / 0.5787 GB, free: 3.711 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test1.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.732487225905061]