Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test10.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.0009437/0.0009437, allocations: 79.59 kB / 21.18 MB, free: 3.387 MB / 18.57 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.001/0.001, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 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 0.992/0.992, allocations: 177.1 MB / 205 MB, free: 5.219 MB / 186.7 MB " [Timeout remaining time 179] 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.2631/0.2631, allocations: 34.25 MB / 295.7 MB, free: 0.7227 MB / 266.7 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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test10") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test10") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.512e-06/1.512e-06, allocations: 0 / 378 MB, free: 2.648 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.633e-05/2.784e-05, allocations: 5.266 kB / 378 MB, free: 2.645 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test10): time 0.002754/0.002782, allocations: 1.704 MB / 379.8 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001437/0.004219, allocations: 1.293 MB / 381 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.805e-05/0.004297, allocations: 0 / 381 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000227/0.004524, allocations: 31.72 kB / 381.1 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003767/0.0049, allocations: 83.56 kB / 381.2 MB, free: 15.51 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003341/0.005234, allocations: 127.6 kB / 381.3 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001982/0.005433, allocations: 79.77 kB / 381.4 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001342/0.005567, allocations: 11.98 kB / 381.4 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.686e-05/0.005654, allocations: 35.91 kB / 381.4 MB, free: 15.26 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001264/0.00578, allocations: 27.91 kB / 381.4 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.756e-05/0.005798, allocations: 4 kB / 381.4 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001929/0.005991, allocations: 95.75 kB / 381.5 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.908e-05/0.00606, allocations: 23.92 kB / 381.6 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.175e-05/0.006091, allocations: 19.91 kB / 381.6 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000246/0.006337, allocations: 135.5 kB / 381.7 MB, free: 14.96 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.006341, allocations: 4 kB / 381.7 MB, free: 14.96 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.006343, allocations: 4 kB / 381.7 MB, free: 14.95 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.03e-06/0.006348, allocations: 0 / 381.7 MB, free: 14.95 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004312/0.006779, allocations: 435.9 kB / 382.1 MB, free: 14.49 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.006816, allocations: 8.031 kB / 382.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.218e-05/0.006868, allocations: 12.89 kB / 382.2 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001586/0.007026, allocations: 136.5 kB / 382.3 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.807e-06/0.007035, allocations: 384 / 382.3 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.456e-05/0.00706, allocations: 4.375 kB / 382.3 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001643/0.007224, allocations: 112 kB / 382.4 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.007233, allocations: 192 / 382.4 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.007245, allocations: 12.12 kB / 382.4 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.007253, allocations: 0 / 382.4 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.595e-05/0.007289, allocations: 11.98 kB / 382.4 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003506/0.007639, allocations: 291.7 kB / 382.7 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.571e-05/0.007735, allocations: 35 kB / 382.8 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.93e-05/0.007764, allocations: 15.72 kB / 382.8 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.317e-05/0.007797, allocations: 7.984 kB / 382.8 MB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.457e-05/0.007832, allocations: 37.39 kB / 382.8 MB, free: 13.71 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.603e-06/0.007834, allocations: 0 / 382.8 MB, free: 13.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.000516/0.00835, allocations: 129.4 kB / 382.9 MB, free: 13.58 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.093e-05/0.008401, allocations: 77.11 kB / 383 MB, free: 13.48 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001437/0.008544, allocations: 203.8 kB / 383.2 MB, free: 13.27 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/0.008557, allocations: 25.7 kB / 383.2 MB, free: 13.24 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.769e-05/0.008615, allocations: 142.8 kB / 383.4 MB, free: 13.09 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.561e-05/0.008641, allocations: 23.84 kB / 383.4 MB, free: 13.07 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.727e-05/0.008678, allocations: 23.38 kB / 383.4 MB, free: 13.04 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.008802, allocations: 0.4923 MB / 383.9 MB, free: 12.54 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.743e-05/0.00883, allocations: 4 kB / 383.9 MB, free: 12.53 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.319e-05/0.008873, allocations: 57 kB / 384 MB, free: 12.46 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.156e-05/0.008924, allocations: 39.66 kB / 384 MB, free: 12.42 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.008926, allocations: 0 / 384 MB, free: 12.42 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.468e-05/0.009021, allocations: 69.7 kB / 384.1 MB, free: 12.34 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.009035, allocations: 8 kB / 384.1 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.009042, allocations: 3.938 kB / 384.1 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.008e-05/0.009062, allocations: 0 / 384.1 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.009175, allocations: 15.98 kB / 384.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.00918, allocations: 0 / 384.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.833e-05/0.009209, allocations: 11.92 kB / 384.1 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.009216, allocations: 4 kB / 384.1 MB, free: 12.3 MB / 362.7 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 (7): * Single equations (assignments): 7 * 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 7.223e-05/0.009288, allocations: 164.5 kB / 384.3 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.742e-05/0.009315, allocations: 16.19 kB / 384.3 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001475/0.009463, allocations: 78.39 kB / 384.4 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.009466, allocations: 3.984 kB / 384.4 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.00947, allocations: 0 / 384.4 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.009474, allocations: 4 kB / 384.4 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000276/0.00975, allocations: 341.3 kB / 384.7 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.009752, allocations: 0 / 384.7 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.088e-05/0.009803, allocations: 15.98 kB / 384.7 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.65e-06/0.009809, allocations: 8 kB / 384.7 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.163e-06/0.009816, allocations: 0 / 384.7 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.009818, allocations: 480 / 384.7 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.009819, allocations: 0 / 384.7 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001401/0.009959, allocations: 227.7 kB / 385 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.191e-05/0.009971, allocations: 7.953 kB / 385 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.396e-05/0.009985, allocations: 4 kB / 385 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.063e-05/0.01003, allocations: 4 kB / 385 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.714e-05/0.01007, allocations: 7.984 kB / 385 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.628e-06/0.01008, allocations: 4 kB / 385 MB, free: 11.35 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.431e-05/0.01015, allocations: 153.5 kB / 385.1 MB, free: 11.2 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01015, allocations: 8 kB / 385.2 MB, free: 11.2 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002152/0.01037, allocations: 35.88 kB / 385.2 MB, free: 11.16 MB / 362.7 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 (7): * Single equations (assignments): 7 * 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.001072/0.01144, allocations: 490 kB / 385.7 MB, free: 10.86 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001316/0.01157, allocations: 47.59 kB / 385.7 MB, free: 10.81 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.01157, allocations: 0 / 385.7 MB, free: 10.81 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.201e-05/0.01161, allocations: 27.67 kB / 385.7 MB, free: 10.78 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002291/0.01183, allocations: 36.36 kB / 385.8 MB, free: 10.75 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003784/0.01221, allocations: 190.4 kB / 386 MB, free: 10.54 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.285e-05/0.01226, allocations: 63.34 kB / 386 MB, free: 10.45 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.428e-05/0.01231, allocations: 19.92 kB / 386 MB, free: 10.43 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.028e-05/0.01235, allocations: 20.5 kB / 386.1 MB, free: 10.41 MB / 362.7 MB Notification: Performance of SimCode: time 7.91e-07/0.01235, allocations: 0 / 386.1 MB, free: 10.41 MB / 362.7 MB Notification: Performance of Templates: time 0.003852/0.0162, allocations: 1.965 MB / 388 MB, free: 8.457 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test10.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test10.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test10 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test10/Test10.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3410709369927645]