Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.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.0009757/0.0009757, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.006193/0.006193, allocations: 160.7 kB / 24.7 MB, free: 9.418 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 0.9961/0.9961, allocations: 177.1 MB / 205 MB, free: 5.719 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.2669/0.2669, allocations: 32.79 MB / 294.2 MB, free: 1.203 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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 5.13e-06/5.13e-06, allocations: 0 / 440.9 MB, free: 3.723 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.025e-05/5.538e-05, allocations: 2.281 kB / 440.9 MB, free: 3.719 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test11): time 0.004099/0.004155, allocations: 1.656 MB / 442.5 MB, free: 2.051 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002325/0.006479, allocations: 1.274 MB / 443.8 MB, free: 0.7695 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.219e-05/0.006572, allocations: 0 / 443.8 MB, free: 0.7695 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002851/0.006857, allocations: 31.72 kB / 443.8 MB, free: 0.7383 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004672/0.007324, allocations: 91.55 kB / 443.9 MB, free: 0.6484 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005578/0.007882, allocations: 179.9 kB / 444.1 MB, free: 488 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002274/0.008109, allocations: 83.75 kB / 444.2 MB, free: 404 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001535/0.008263, allocations: 8 kB / 444.2 MB, free: 396 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.907e-05/0.008362, allocations: 43.84 kB / 444.2 MB, free: 352 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001225/0.008484, allocations: 27.89 kB / 444.2 MB, free: 324 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.259e-05/0.008507, allocations: 15.94 kB / 444.3 MB, free: 308 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002322/0.008739, allocations: 91.88 kB / 444.4 MB, free: 216 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.043e-05/0.00882, allocations: 15.92 kB / 444.4 MB, free: 200 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.533e-05/0.008865, allocations: 23.92 kB / 444.4 MB, free: 176 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003366/0.009201, allocations: 155.4 kB / 444.5 MB, free: 20 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.009205, allocations: 0 / 444.5 MB, free: 20 kB / 410.7 MB Notification: Performance of FrontEnd: time 2.956e-06/0.009208, allocations: 4 kB / 444.5 MB, free: 16 kB / 410.7 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.009213, allocations: 0 / 444.5 MB, free: 16 kB / 410.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.2347/0.2439, allocations: 331.3 kB / 444.9 MB, free: 46.74 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.244, allocations: 8.812 kB / 444.9 MB, free: 46.74 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.385e-05/0.244, allocations: 9.391 kB / 444.9 MB, free: 46.73 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001649/0.2442, allocations: 142 kB / 445 MB, free: 46.6 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.017e-05/0.2442, allocations: 2.875 kB / 445 MB, free: 46.6 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.335e-05/0.2442, allocations: 3.25 kB / 445 MB, free: 46.6 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001792/0.2444, allocations: 104.9 kB / 445.1 MB, free: 46.52 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.2444, allocations: 1.281 kB / 445.1 MB, free: 46.52 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.2444, allocations: 4.812 kB / 445.1 MB, free: 46.52 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-06/0.2444, allocations: 0 / 445.1 MB, free: 46.52 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.432e-05/0.2445, allocations: 44.14 kB / 445.2 MB, free: 46.52 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003395/0.2449, allocations: 249.1 kB / 445.4 MB, free: 46.32 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001112/0.245, allocations: 49.38 kB / 445.5 MB, free: 46.29 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.192e-05/0.245, allocations: 23.16 kB / 445.5 MB, free: 46.29 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.634e-05/0.2451, allocations: 3.312 kB / 445.5 MB, free: 46.29 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/0.2451, allocations: 40.5 kB / 445.5 MB, free: 46.24 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 2.525e-06/0.2451, allocations: 0 / 445.5 MB, free: 46.24 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007138/0.2458, allocations: 236.7 kB / 445.8 MB, free: 46.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.728e-05/0.2458, allocations: 80.86 kB / 445.9 MB, free: 46.1 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001399/0.246, allocations: 146.3 kB / 446 MB, free: 46 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.137e-05/0.246, allocations: 25.7 kB / 446 MB, free: 45.97 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.326e-05/0.246, allocations: 97.48 kB / 446.1 MB, free: 45.89 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.54e-05/0.2461, allocations: 28.23 kB / 446.1 MB, free: 45.87 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.873e-05/0.2461, allocations: 22.91 kB / 446.2 MB, free: 45.86 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.171e-05/0.2462, allocations: 324.5 kB / 446.5 MB, free: 45.54 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.688e-05/0.2462, allocations: 33.3 kB / 446.5 MB, free: 45.54 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.348e-05/0.2463, allocations: 84.61 kB / 446.6 MB, free: 45.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001228/0.2464, allocations: 89.33 kB / 446.7 MB, free: 45.49 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.2464, allocations: 3.531 kB / 446.7 MB, free: 45.49 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001813/0.2466, allocations: 128.4 kB / 446.8 MB, free: 45.45 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.2466, allocations: 5.562 kB / 446.8 MB, free: 45.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.2466, allocations: 0 / 446.8 MB, free: 45.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.2467, allocations: 2.188 kB / 446.8 MB, free: 45.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.2468, allocations: 19.69 kB / 446.8 MB, free: 45.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.2468, allocations: 7.438 kB / 446.8 MB, free: 45.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.58e-05/0.2468, allocations: 11 kB / 446.9 MB, free: 45.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-06/0.2468, allocations: 6.859 kB / 446.9 MB, free: 45.45 MB / 410.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.186e-05/0.2469, allocations: 119.6 kB / 447 MB, free: 45.33 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.215e-05/0.2469, allocations: 10.86 kB / 447 MB, free: 45.32 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002414/0.2471, allocations: 141.6 kB / 447.1 MB, free: 45.28 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.2471, allocations: 0 / 447.1 MB, free: 45.28 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.2472, allocations: 3.625 kB / 447.1 MB, free: 45.28 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.2472, allocations: 0 / 447.1 MB, free: 45.28 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000359/0.2475, allocations: 350.8 kB / 447.5 MB, free: 45.01 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.2475, allocations: 0 / 447.5 MB, free: 45.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.228e-05/0.2476, allocations: 24.56 kB / 447.5 MB, free: 45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.2476, allocations: 0 / 447.5 MB, free: 45 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.278e-06/0.2476, allocations: 5.75 kB / 447.5 MB, free: 45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.2476, allocations: 0 / 447.5 MB, free: 45 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.2476, allocations: 1.812 kB / 447.5 MB, free: 45 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001818/0.2478, allocations: 233.5 kB / 447.7 MB, free: 44.85 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.563e-05/0.2478, allocations: 6.859 kB / 447.7 MB, free: 44.84 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.2478, allocations: 7.031 kB / 447.8 MB, free: 44.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.938e-05/0.2479, allocations: 13.23 kB / 447.8 MB, free: 44.84 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.616e-05/0.2479, allocations: 3.328 kB / 447.8 MB, free: 44.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.682e-06/0.2479, allocations: 2.938 kB / 447.8 MB, free: 44.84 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.53e-05/0.248, allocations: 116.4 kB / 447.9 MB, free: 44.75 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.248, allocations: 0 / 447.9 MB, free: 44.75 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002344/0.2482, allocations: 41.95 kB / 447.9 MB, free: 44.74 MB / 410.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.001074/0.2493, allocations: 0.5233 MB / 448.4 MB, free: 44.57 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002824/0.2496, allocations: 90.81 kB / 448.5 MB, free: 44.55 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.2496, allocations: 0 / 448.5 MB, free: 44.55 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.437e-05/0.2496, allocations: 49.69 kB / 448.6 MB, free: 44.54 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002967/0.2499, allocations: 27.44 kB / 448.6 MB, free: 44.53 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004198/0.2503, allocations: 237.8 kB / 448.8 MB, free: 44.36 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.991e-05/0.2504, allocations: 91.06 kB / 448.9 MB, free: 44.28 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.625e-05/0.2505, allocations: 21.25 kB / 449 MB, free: 44.27 MB / 410.7 MB Notification: Performance of SimCode: time 8.02e-07/0.2505, allocations: 2.875 kB / 449 MB, free: 44.27 MB / 410.7 MB Notification: Performance of Templates: time 0.0037/0.2542, allocations: 2.23 MB / 451.2 MB, free: 44.03 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test11/Test11.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.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.370125783607364]