Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test30.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.001308/0.001308, allocations: 109.1 kB / 21.84 MB, free: 88 kB / 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.001519/0.001519, allocations: 218 kB / 25.13 MB, free: 3.609 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.468/1.468, allocations: 230.4 MB / 258.7 MB, free: 8.051 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.2469/0.2469, allocations: 46.94 MB / 362.1 MB, free: 4.242 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.Test30,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.Test30") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test30,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.Test30") [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.002313/0.002313, allocations: 83.84 kB / 0.4978 GB, free: 7.371 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.338/0.3403, allocations: 66.07 MB / 0.5623 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.003004/0.3433, allocations: 1.691 MB / 0.564 GB, free: 2.555 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001073/0.3444, allocations: 0.6005 MB / 0.5646 GB, free: 1.953 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.199e-05/0.3444, allocations: 0 / 0.5646 GB, free: 1.953 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002597/0.3447, allocations: 75.7 kB / 0.5647 GB, free: 1.879 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002955/0.345, allocations: 107.6 kB / 0.5648 GB, free: 1.773 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004318/0.3454, allocations: 190.7 kB / 0.5649 GB, free: 1.59 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001664/0.3456, allocations: 95.73 kB / 0.565 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.952e-05/0.3457, allocations: 15.88 kB / 0.565 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.079e-05/0.3457, allocations: 47.83 kB / 0.5651 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001252/0.3459, allocations: 55.83 kB / 0.5651 GB, free: 1.379 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.792e-05/0.3459, allocations: 4 kB / 0.5652 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001133/0.346, allocations: 59.89 kB / 0.5652 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.666e-05/0.3461, allocations: 27.86 kB / 0.5652 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.555e-05/0.3461, allocations: 35.75 kB / 0.5653 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002004/0.3463, allocations: 122.3 kB / 0.5654 GB, free: 1.137 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.3463, allocations: 4 kB / 0.5654 GB, free: 1.133 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3463, allocations: 0 / 0.5654 GB, free: 1.133 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.3463, allocations: 0 / 0.5654 GB, free: 1.133 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.0005015/0.3468, allocations: 349.6 kB / 0.5657 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.3469, allocations: 12.03 kB / 0.5657 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.611e-05/0.3469, allocations: 8.891 kB / 0.5657 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001916/0.3471, allocations: 154.2 kB / 0.5659 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.3471, allocations: 8.375 kB / 0.5659 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.191e-05/0.3471, allocations: 384 / 0.5659 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001707/0.3473, allocations: 66.23 kB / 0.566 GB, free: 496 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.905e-05/0.3473, allocations: 8.172 kB / 0.566 GB, free: 488 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.3473, allocations: 3.938 kB / 0.566 GB, free: 484 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.3473, allocations: 3.938 kB / 0.566 GB, free: 480 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001416/0.3475, allocations: 47.89 kB / 0.566 GB, free: 432 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000483/0.348, allocations: 299.8 kB / 0.5663 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000246/0.3482, allocations: 58.58 kB / 0.5664 GB, free: 20 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.489e-05/0.3483, allocations: 28.97 kB / 0.5664 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.941e-05/0.3483, allocations: 4 kB / 0.5664 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/0.3484, allocations: 38.55 kB / 0.5664 GB, free: 15.94 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.693e-06/0.3484, allocations: 0 / 0.5664 GB, free: 15.94 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.001407/0.3498, allocations: 421.3 kB / 0.5668 GB, free: 15.52 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.3498, allocations: 55.41 kB / 0.5669 GB, free: 15.45 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002198/0.35, allocations: 218.2 kB / 0.5671 GB, free: 15.23 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/0.35, allocations: 33.7 kB / 0.5671 GB, free: 15.19 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.029e-05/0.3501, allocations: 100.1 kB / 0.5672 GB, free: 15.09 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.814e-05/0.3502, allocations: 43.69 kB / 0.5673 GB, free: 15.05 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.598e-05/0.3502, allocations: 25.66 kB / 0.5673 GB, free: 15.02 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.3504, allocations: 322.8 kB / 0.5676 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/0.3505, allocations: 59.89 kB / 0.5677 GB, free: 14.63 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000137/0.3506, allocations: 60.08 kB / 0.5677 GB, free: 14.57 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002947/0.3509, allocations: 128.8 kB / 0.5678 GB, free: 14.45 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.3509, allocations: 0 / 0.5678 GB, free: 14.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003526/0.3513, allocations: 161.5 kB / 0.568 GB, free: 14.28 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.3513, allocations: 6.344 kB / 0.568 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.3513, allocations: 7.984 kB / 0.568 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.978e-05/0.3513, allocations: 4 kB / 0.568 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/0.3515, allocations: 27.92 kB / 0.568 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.3515, allocations: 3.938 kB / 0.568 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.916e-05/0.3515, allocations: 11.92 kB / 0.568 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.324e-05/0.3515, allocations: 8 kB / 0.5681 GB, free: 14.21 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.000119/0.3517, allocations: 129.8 kB / 0.5682 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.382e-05/0.3517, allocations: 19.91 kB / 0.5682 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004307/0.3521, allocations: 191.3 kB / 0.5684 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.3521, allocations: 0 / 0.5684 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.3521, allocations: 4 kB / 0.5684 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.3521, allocations: 3.938 kB / 0.5684 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007361/0.3529, allocations: 479.1 kB / 0.5688 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.3529, allocations: 0 / 0.5688 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001102/0.353, allocations: 39.86 kB / 0.5689 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.353, allocations: 3.984 kB / 0.5689 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.353, allocations: 0 / 0.5689 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.353, allocations: 4 kB / 0.5689 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.353, allocations: 3.938 kB / 0.5689 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004021/0.3534, allocations: 273.1 kB / 0.5692 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.054e-05/0.3534, allocations: 11.89 kB / 0.5692 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.116e-05/0.3535, allocations: 4 kB / 0.5692 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.471e-05/0.3535, allocations: 15.98 kB / 0.5692 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.589e-05/0.3536, allocations: 7.984 kB / 0.5692 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.938e-06/0.3536, allocations: 4 kB / 0.5692 GB, free: 12.94 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001628/0.3538, allocations: 168.2 kB / 0.5694 GB, free: 12.78 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3538, allocations: 96 / 0.5694 GB, free: 12.78 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002773/0.354, allocations: 31.92 kB / 0.5694 GB, free: 12.75 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.001752/0.3558, allocations: 456 kB / 0.5698 GB, free: 12.46 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003347/0.3561, allocations: 119.9 kB / 0.5699 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3561, allocations: 4 kB / 0.5699 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001554/0.3563, allocations: 67.83 kB / 0.57 GB, free: 12.27 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003602/0.3566, allocations: 35.28 kB / 0.57 GB, free: 12.24 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006466/0.3573, allocations: 328.7 kB / 0.5704 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003799/0.3577, allocations: 0.7237 MB / 0.5711 GB, free: 11.14 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.828e-05/0.3578, allocations: 28.45 kB / 0.5711 GB, free: 11.11 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.434e-05/0.3578, allocations: 19.42 kB / 0.5711 GB, free: 11.09 MB / 414.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3578, allocations: 4 kB / 0.5711 GB, free: 11.09 MB / 414.1 MB Notification: Performance of Templates: time 0.004864/0.3627, allocations: 1.708 MB / 0.5728 GB, free: 9.383 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test30 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test30.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.048535386100411]