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.00158/0.00158, allocations: 110.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.001886/0.001886, allocations: 217.4 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.539/1.539, allocations: 230.2 MB / 257.8 MB, free: 8.488 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.2433/0.2433, allocations: 46.89 MB / 361.1 MB, free: 4.621 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.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.002377/0.002377, allocations: 87.86 kB / 0.4968 GB, free: 7.758 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3394/0.3418, allocations: 65.98 MB / 0.5612 GB, free: 4.996 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.003267/0.345, allocations: 1.688 MB / 0.5629 GB, free: 3.301 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001169/0.3462, allocations: 0.6122 MB / 0.5635 GB, free: 2.688 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.443e-05/0.3463, allocations: 0 / 0.5635 GB, free: 2.688 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006392/0.3469, allocations: 447.2 kB / 0.5639 GB, free: 2.25 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005124/0.3474, allocations: 295.3 kB / 0.5642 GB, free: 1.961 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004771/0.3479, allocations: 170.8 kB / 0.5643 GB, free: 1.797 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002617/0.3482, allocations: 179.6 kB / 0.5645 GB, free: 1.621 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.3483, allocations: 20.23 kB / 0.5645 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000127/0.3484, allocations: 115.7 kB / 0.5646 GB, free: 1.484 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002771/0.3487, allocations: 251.5 kB / 0.5649 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.058e-05/0.3487, allocations: 4 kB / 0.5649 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001324/0.3488, allocations: 51.97 kB / 0.5649 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001122/0.3489, allocations: 83.69 kB / 0.565 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000101/0.349, allocations: 106.9 kB / 0.5651 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003675/0.3494, allocations: 281.3 kB / 0.5654 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.3494, allocations: 4 kB / 0.5654 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3494, allocations: 0 / 0.5654 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.376e-06/0.3494, allocations: 0 / 0.5654 GB, free: 0.7188 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.0008818/0.3503, allocations: 0.6683 MB / 0.566 GB, free: 16 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.3504, allocations: 12.03 kB / 0.5661 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.858e-05/0.3504, allocations: 44.61 kB / 0.5661 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003536/0.3508, allocations: 300.6 kB / 0.5664 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.693e-05/0.3508, allocations: 12.36 kB / 0.5664 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.125e-05/0.3508, allocations: 4.375 kB / 0.5664 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001848/0.351, allocations: 66.17 kB / 0.5665 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.351, allocations: 192 / 0.5665 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.683e-05/0.351, allocations: 7.938 kB / 0.5665 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.3511, allocations: 3.984 kB / 0.5665 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001143/0.3512, allocations: 27.98 kB / 0.5665 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006493/0.3518, allocations: 412.6 kB / 0.5669 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001181/0.3519, allocations: 46.56 kB / 0.5669 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.879e-05/0.352, allocations: 20.94 kB / 0.567 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.93e-05/0.352, allocations: 0 / 0.567 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.429e-05/0.352, allocations: 30.56 kB / 0.567 GB, free: 14.91 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.352, allocations: 4 kB / 0.567 GB, free: 14.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.001065/0.3531, allocations: 320.6 kB / 0.5673 GB, free: 14.59 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.617e-05/0.3532, allocations: 63.28 kB / 0.5674 GB, free: 14.51 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009063/0.3541, allocations: 0.866 MB / 0.5682 GB, free: 13.63 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.158e-05/0.3541, allocations: 29.7 kB / 0.5682 GB, free: 13.6 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002001/0.3543, allocations: 232 kB / 0.5685 GB, free: 13.37 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.976e-05/0.3543, allocations: 19.86 kB / 0.5685 GB, free: 13.35 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.884e-05/0.3544, allocations: 25.7 kB / 0.5685 GB, free: 13.32 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001847/0.3546, allocations: 362.7 kB / 0.5688 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.528e-05/0.3546, allocations: 39.91 kB / 0.5689 GB, free: 12.91 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.833e-05/0.3547, allocations: 27.98 kB / 0.5689 GB, free: 12.89 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001841/0.3549, allocations: 81.02 kB / 0.569 GB, free: 12.8 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.3549, allocations: 12 kB / 0.569 GB, free: 12.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002746/0.3552, allocations: 145.3 kB / 0.5691 GB, free: 12.64 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.3552, allocations: 6.188 kB / 0.5691 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.3552, allocations: 4 kB / 0.5692 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.131e-05/0.3552, allocations: 0 / 0.5692 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.3553, allocations: 19.98 kB / 0.5692 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.3553, allocations: 0 / 0.5692 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.75e-05/0.3554, allocations: 11.92 kB / 0.5692 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.297e-05/0.3554, allocations: 8 kB / 0.5692 GB, free: 12.6 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.0002074/0.3556, allocations: 213.8 kB / 0.5694 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.663e-05/0.3557, allocations: 43.72 kB / 0.5694 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000385/0.3561, allocations: 177.4 kB / 0.5696 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.3561, allocations: 4 kB / 0.5696 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.3561, allocations: 0 / 0.5696 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.3561, allocations: 7.938 kB / 0.5696 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007632/0.3569, allocations: 0.5109 MB / 0.5701 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.3569, allocations: 0 / 0.5701 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.765e-05/0.3569, allocations: 20.41 kB / 0.5701 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.05e-06/0.357, allocations: 3.938 kB / 0.5701 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.357, allocations: 4 kB / 0.5701 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.357, allocations: 4 kB / 0.5701 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.357, allocations: 4.031 kB / 0.5701 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003191/0.3573, allocations: 252 kB / 0.5704 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/0.3574, allocations: 116.8 kB / 0.5705 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.948e-05/0.3574, allocations: 3.938 kB / 0.5705 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.534e-05/0.3575, allocations: 7.984 kB / 0.5705 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.848e-05/0.3576, allocations: 12 kB / 0.5705 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.407e-06/0.3576, allocations: 4 kB / 0.5705 GB, free: 11.11 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006521/0.3582, allocations: 0.655 MB / 0.5712 GB, free: 10.46 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3582, allocations: 0 / 0.5712 GB, free: 10.46 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000276/0.3585, allocations: 24 kB / 0.5712 GB, free: 10.43 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.001761/0.3603, allocations: 466.8 kB / 0.5716 GB, free: 10.14 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002906/0.3605, allocations: 79.86 kB / 0.5717 GB, free: 10.06 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3606, allocations: 0 / 0.5717 GB, free: 10.06 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000106/0.3607, allocations: 39.92 kB / 0.5717 GB, free: 10.02 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004396/0.3611, allocations: 32.03 kB / 0.5718 GB, free: 10 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001347/0.3624, allocations: 0.8503 MB / 0.5726 GB, free: 9.121 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005191/0.363, allocations: 0.8337 MB / 0.5734 GB, free: 8.262 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.796e-05/0.363, allocations: 20.42 kB / 0.5734 GB, free: 8.242 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.302e-05/0.3631, allocations: 15.44 kB / 0.5735 GB, free: 8.227 MB / 414.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3631, allocations: 0 / 0.5735 GB, free: 8.227 MB / 414.1 MB Notification: Performance of Templates: time 0.006145/0.3692, allocations: 1.804 MB / 0.5752 GB, free: 6.418 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 -s cvode -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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 5.272223715670407]