Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.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.001212/0.001212, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001464/0.001464, allocations: 167.3 kB / 24.99 MB, free: 8.746 MB / 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 1.044/1.044, allocations: 177.1 MB / 205.3 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.289/0.289, allocations: 32.8 MB / 294.6 MB, free: 1.285 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 376 MB, free: 4.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.596e-05/1.737e-05, allocations: 6.25 kB / 376 MB, free: 4.973 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test12): time 0.002147/0.002164, allocations: 1.712 MB / 377.7 MB, free: 3.25 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001159/0.003323, allocations: 1.285 MB / 379 MB, free: 1.957 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.448e-05/0.003378, allocations: 0 / 379 MB, free: 1.957 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001947/0.003573, allocations: 31.72 kB / 379 MB, free: 1.926 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002735/0.003846, allocations: 83.56 kB / 379.1 MB, free: 1.844 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002114/0.004058, allocations: 131.6 kB / 379.2 MB, free: 1.715 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001407/0.004198, allocations: 75.77 kB / 379.3 MB, free: 1.641 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.362e-05/0.004292, allocations: 11.98 kB / 379.3 MB, free: 1.629 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.136e-05/0.004363, allocations: 39.91 kB / 379.4 MB, free: 1.59 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.585e-05/0.004459, allocations: 23.91 kB / 379.4 MB, free: 1.566 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.665e-05/0.004476, allocations: 8 kB / 379.4 MB, free: 1.559 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002841/0.00476, allocations: 95.75 kB / 379.5 MB, free: 1.465 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.167e-05/0.004821, allocations: 23.92 kB / 379.5 MB, free: 1.441 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.575e-05/0.004847, allocations: 19.91 kB / 379.5 MB, free: 1.422 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001932/0.00504, allocations: 131.6 kB / 379.7 MB, free: 1.293 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.005042, allocations: 0 / 379.7 MB, free: 1.293 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.005043, allocations: 4 kB / 379.7 MB, free: 1.289 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.177e-06/0.005047, allocations: 0 / 379.7 MB, free: 1.289 MB / 346.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.0004643/0.005511, allocations: 439.9 kB / 380.1 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.005546, allocations: 8.031 kB / 380.1 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.787e-05/0.005594, allocations: 12.89 kB / 380.1 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001502/0.005744, allocations: 140.5 kB / 380.3 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.697e-06/0.005753, allocations: 384 / 380.3 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.988e-05/0.005773, allocations: 4.375 kB / 380.3 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001398/0.005913, allocations: 112 kB / 380.4 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.005922, allocations: 192 / 380.4 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.005933, allocations: 8.125 kB / 380.4 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.00594, allocations: 0 / 380.4 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.246e-05/0.005973, allocations: 7.984 kB / 380.4 MB, free: 500 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000278/0.006251, allocations: 283.7 kB / 380.7 MB, free: 180 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.982e-05/0.006321, allocations: 46.98 kB / 380.7 MB, free: 120 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.452e-05/0.006345, allocations: 15.62 kB / 380.7 MB, free: 100 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.981e-05/0.006365, allocations: 4 kB / 380.7 MB, free: 96 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.827e-05/0.006393, allocations: 41.47 kB / 380.8 MB, free: 44 kB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.006395, allocations: 0 / 380.8 MB, free: 44 kB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004093/0.006804, allocations: 121.4 kB / 380.9 MB, free: 15.92 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.854e-05/0.006842, allocations: 77.11 kB / 381 MB, free: 15.82 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/0.00696, allocations: 199.8 kB / 381.2 MB, free: 15.61 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.045e-05/0.006971, allocations: 25.7 kB / 381.2 MB, free: 15.58 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.186e-05/0.007023, allocations: 150.8 kB / 381.3 MB, free: 15.43 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.941e-05/0.007042, allocations: 15.86 kB / 381.4 MB, free: 15.41 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.708e-05/0.007079, allocations: 31.36 kB / 381.4 MB, free: 15.38 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.007184, allocations: 0.4923 MB / 381.9 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.073e-05/0.007205, allocations: 4 kB / 381.9 MB, free: 14.87 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.051e-05/0.007245, allocations: 57 kB / 381.9 MB, free: 14.8 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.773e-05/0.007293, allocations: 35.62 kB / 382 MB, free: 14.76 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.007294, allocations: 0 / 382 MB, free: 14.76 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.967e-05/0.007384, allocations: 78.14 kB / 382 MB, free: 14.68 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.007395, allocations: 8 kB / 382.1 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.0074, allocations: 0 / 382.1 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.007414, allocations: 4.031 kB / 382.1 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.806e-05/0.007492, allocations: 19.92 kB / 382.1 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.007497, allocations: 0 / 382.1 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.831e-05/0.007525, allocations: 11.98 kB / 382.1 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-06/0.007533, allocations: 7.984 kB / 382.1 MB, free: 14.62 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 6.43e-05/0.007597, allocations: 160.5 kB / 382.3 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.409e-05/0.007622, allocations: 15.91 kB / 382.3 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001291/0.007751, allocations: 78.39 kB / 382.3 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.007752, allocations: 0 / 382.3 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.007755, allocations: 4 kB / 382.3 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.007758, allocations: 0 / 382.3 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002408/0.007999, allocations: 345.3 kB / 382.7 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.008, allocations: 0 / 382.7 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.012e-05/0.00804, allocations: 15.98 kB / 382.7 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.008043, allocations: 4 kB / 382.7 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-06/0.00805, allocations: 0 / 382.7 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.008051, allocations: 0 / 382.7 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.008052, allocations: 0 / 382.7 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001165/0.008169, allocations: 219.8 kB / 382.9 MB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.011e-05/0.008179, allocations: 11.94 kB / 382.9 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.336e-05/0.008192, allocations: 8 kB / 382.9 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.941e-05/0.008231, allocations: 4 kB / 382.9 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.352e-05/0.008265, allocations: 7.984 kB / 383 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.998e-06/0.008269, allocations: 0 / 383 MB, free: 13.69 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.854e-05/0.008327, allocations: 153.5 kB / 383.1 MB, free: 13.54 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008328, allocations: 0 / 383.1 MB, free: 13.54 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001842/0.008512, allocations: 43.81 kB / 383.1 MB, free: 13.5 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.001019/0.009531, allocations: 485.2 kB / 383.6 MB, free: 13.2 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001197/0.009651, allocations: 47.61 kB / 383.7 MB, free: 13.14 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.009652, allocations: 0 / 383.7 MB, free: 13.14 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.262e-05/0.009685, allocations: 27.67 kB / 383.7 MB, free: 13.11 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002056/0.009891, allocations: 19.98 kB / 383.7 MB, free: 13.09 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003361/0.01023, allocations: 200.7 kB / 383.9 MB, free: 12.87 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.87e-05/0.01027, allocations: 63.34 kB / 384 MB, free: 12.79 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.185e-05/0.01031, allocations: 16.28 kB / 384 MB, free: 12.77 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.334e-05/0.01034, allocations: 20.5 kB / 384 MB, free: 12.75 MB / 362.7 MB Notification: Performance of SimCode: time 6.52e-07/0.01034, allocations: 0 / 384 MB, free: 12.75 MB / 362.7 MB Notification: Performance of Templates: time 0.00351/0.01385, allocations: 1.973 MB / 386 MB, free: 10.8 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test12/Test12.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.277367830974981]