Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.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.001404/0.001404, allocations: 77.97 kB / 21.42 MB, free: 3.066 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.001868/0.001868, allocations: 167.9 kB / 24.82 MB, free: 9.324 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.032/1.032, allocations: 177.2 MB / 205.3 MB, free: 5.453 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.271/0.271, allocations: 32.79 MB / 294.6 MB, free: 1.246 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.CombiTable2Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 376.5 MB, free: 4.383 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.503e-05/2.693e-05, allocations: 5.406 kB / 376.5 MB, free: 4.379 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.002427/0.002453, allocations: 1.708 MB / 378.2 MB, free: 2.656 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000796/0.00325, allocations: 0.5685 MB / 378.8 MB, free: 2.082 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.867e-05/0.003318, allocations: 0 / 378.8 MB, free: 2.082 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002611/0.003579, allocations: 75.64 kB / 378.9 MB, free: 2.008 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002889/0.003868, allocations: 107.5 kB / 379 MB, free: 1.902 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003544/0.004223, allocations: 171.6 kB / 379.1 MB, free: 1.734 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001758/0.004398, allocations: 99.67 kB / 379.2 MB, free: 1.637 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.341e-05/0.004492, allocations: 24.16 kB / 379.3 MB, free: 1.609 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.327e-05/0.004565, allocations: 51.88 kB / 379.3 MB, free: 1.559 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.156e-05/0.004657, allocations: 51.88 kB / 379.4 MB, free: 1.508 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.478e-05/0.004671, allocations: 4 kB / 379.4 MB, free: 1.504 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.516e-05/0.004757, allocations: 47.97 kB / 379.4 MB, free: 1.457 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.448e-05/0.004811, allocations: 31.84 kB / 379.4 MB, free: 1.426 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.364e-05/0.004835, allocations: 19.94 kB / 379.5 MB, free: 1.406 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001596/0.004994, allocations: 103.5 kB / 379.6 MB, free: 1.305 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.004997, allocations: 0 / 379.6 MB, free: 1.305 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.004998, allocations: 0 / 379.6 MB, free: 1.305 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.107e-06/0.005002, allocations: 0 / 379.6 MB, free: 1.305 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003932/0.005395, allocations: 455.8 kB / 380 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.005433, allocations: 12.03 kB / 380 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.703e-05/0.00547, allocations: 16.84 kB / 380 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001308/0.0056, allocations: 156.8 kB / 380.2 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.828e-06/0.00561, allocations: 4.375 kB / 380.2 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.651e-05/0.005627, allocations: 384 / 380.2 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001043/0.005731, allocations: 66.94 kB / 380.3 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.005742, allocations: 8.172 kB / 380.3 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.00575, allocations: 8.125 kB / 380.3 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.005755, allocations: 0 / 380.3 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.73e-05/0.005783, allocations: 15.92 kB / 380.3 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002643/0.006047, allocations: 280.2 kB / 380.6 MB, free: 212 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001254/0.006172, allocations: 51.08 kB / 380.6 MB, free: 148 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.802e-05/0.00619, allocations: 15.67 kB / 380.6 MB, free: 128 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.192e-05/0.006212, allocations: 11.94 kB / 380.6 MB, free: 116 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.804e-05/0.00623, allocations: 33.39 kB / 380.7 MB, free: 72 kB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.022e-06/0.006231, allocations: 0 / 380.7 MB, free: 72 kB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005407/0.006772, allocations: 229.7 kB / 380.9 MB, free: 15.84 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.791e-05/0.0068, allocations: 51.41 kB / 380.9 MB, free: 15.78 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001177/0.006918, allocations: 229.8 kB / 381.2 MB, free: 15.54 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.006932, allocations: 29.7 kB / 381.2 MB, free: 15.5 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.021e-05/0.007002, allocations: 158.8 kB / 381.3 MB, free: 15.34 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.023e-05/0.007032, allocations: 35.69 kB / 381.4 MB, free: 15.3 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.875e-05/0.007071, allocations: 43.34 kB / 381.4 MB, free: 15.25 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.007202, allocations: 0.5 MB / 381.9 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.467e-05/0.007227, allocations: 8 kB / 381.9 MB, free: 14.73 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.96e-05/0.007246, allocations: 11.98 kB / 381.9 MB, free: 14.72 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.175e-05/0.007298, allocations: 47.61 kB / 382 MB, free: 14.67 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.007299, allocations: 0 / 382 MB, free: 14.67 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001153/0.007414, allocations: 85.59 kB / 382.1 MB, free: 14.58 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.007433, allocations: 4 kB / 382.1 MB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.007439, allocations: 4 kB / 382.1 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.007457, allocations: 7.938 kB / 382.1 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.779e-05/0.007525, allocations: 19.98 kB / 382.1 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.436e-06/0.007528, allocations: 0 / 382.1 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.323e-05/0.007551, allocations: 7.984 kB / 382.1 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/0.007557, allocations: 4 kB / 382.1 MB, free: 14.54 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 (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 8.239e-05/0.00764, allocations: 164.5 kB / 382.3 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.643e-05/0.007666, allocations: 15.91 kB / 382.3 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001802/0.007846, allocations: 111.4 kB / 382.4 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.00785, allocations: 4 kB / 382.4 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.007853, allocations: 4 kB / 382.4 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.007857, allocations: 3.984 kB / 382.4 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003601/0.008217, allocations: 381.2 kB / 382.8 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.008221, allocations: 4 kB / 382.8 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.562e-05/0.008276, allocations: 19.98 kB / 382.8 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-06/0.008282, allocations: 4 kB / 382.8 MB, free: 13.78 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.988e-06/0.008292, allocations: 7.984 kB / 382.8 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.008294, allocations: 0 / 382.8 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.98e-06/0.008299, allocations: 4.25 kB / 382.8 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001705/0.008469, allocations: 271 kB / 383.1 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.969e-06/0.008479, allocations: 7.953 kB / 383.1 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.357e-05/0.008493, allocations: 8 kB / 383.1 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.078e-05/0.008534, allocations: 8 kB / 383.1 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.908e-05/0.008563, allocations: 11.92 kB / 383.1 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/0.008568, allocations: 0 / 383.1 MB, free: 13.44 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.242e-05/0.00863, allocations: 168.1 kB / 383.3 MB, free: 13.28 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00863, allocations: 0 / 383.3 MB, free: 13.28 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001738/0.008804, allocations: 27.94 kB / 383.3 MB, free: 13.25 MB / 362.7 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.0008689/0.009673, allocations: 442.9 kB / 383.8 MB, free: 12.98 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001138/0.009787, allocations: 47.66 kB / 383.8 MB, free: 12.93 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.009789, allocations: 0 / 383.8 MB, free: 12.93 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.054e-05/0.00983, allocations: 43.55 kB / 383.8 MB, free: 12.88 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002284/0.01006, allocations: 19.94 kB / 383.9 MB, free: 12.86 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004035/0.01046, allocations: 290.8 kB / 384.1 MB, free: 12.54 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.495e-05/0.01051, allocations: 75.33 kB / 384.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.876e-05/0.01056, allocations: 16.47 kB / 384.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.007e-05/0.01064, allocations: 90.19 kB / 384.3 MB, free: 12.34 MB / 362.7 MB Notification: Performance of SimCode: time 8.41e-07/0.01064, allocations: 0 / 384.3 MB, free: 12.34 MB / 362.7 MB Notification: Performance of Templates: time 0.003642/0.01428, allocations: 1.818 MB / 386.1 MB, free: 10.54 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test30/Test30.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.1138111618347466]