Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.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.0009311/0.0009311, allocations: 83.69 kB / 21.19 MB, free: 3.391 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.001028/0.001028, allocations: 165 kB / 24.56 MB, free: 20 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 1.011/1.011, allocations: 177.1 MB / 205 MB, free: 5.254 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.2628/0.2628, allocations: 34.26 MB / 295.7 MB, free: 0.7188 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.Test6,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.Test6") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test6,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.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.926e-06/2.926e-06, allocations: 3.984 kB / 378.1 MB, free: 2.656 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.057e-05/2.349e-05, allocations: 2.312 kB / 378.1 MB, free: 2.652 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test6): time 0.002194/0.002218, allocations: 1.703 MB / 379.8 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007342/0.002952, allocations: 0.553 MB / 380.3 MB, free: 388 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.155e-05/0.003004, allocations: 0 / 380.3 MB, free: 388 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004712/0.003475, allocations: 443.2 kB / 380.7 MB, free: 15.94 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000353/0.003828, allocations: 303.1 kB / 381 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002262/0.004054, allocations: 131.5 kB / 381.2 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002037/0.004258, allocations: 179.6 kB / 381.3 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.516e-05/0.004353, allocations: 8 kB / 381.4 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001157/0.004469, allocations: 127.7 kB / 381.5 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002033/0.004672, allocations: 239.6 kB / 381.7 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.818e-05/0.00469, allocations: 4 kB / 381.7 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.448e-05/0.004764, allocations: 39.91 kB / 381.8 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.217e-05/0.004857, allocations: 79.72 kB / 381.8 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.732e-05/0.004894, allocations: 39.75 kB / 381.9 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002182/0.005112, allocations: 207.1 kB / 382.1 MB, free: 14.61 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.005115, allocations: 0 / 382.1 MB, free: 14.61 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.005115, allocations: 0 / 382.1 MB, free: 14.61 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.00512, allocations: 0 / 382.1 MB, free: 14.61 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.0005645/0.005684, allocations: 0.6931 MB / 382.8 MB, free: 13.88 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.005718, allocations: 12.03 kB / 382.8 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.796e-05/0.005776, allocations: 48.64 kB / 382.8 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001836/0.00596, allocations: 244.9 kB / 383.1 MB, free: 13.56 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.756e-06/0.005969, allocations: 4.375 kB / 383.1 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.593e-05/0.005994, allocations: 8.375 kB / 383.1 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001184/0.006113, allocations: 66.88 kB / 383.1 MB, free: 13.47 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.457e-06/0.006122, allocations: 192 / 383.1 MB, free: 13.47 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.006134, allocations: 4.125 kB / 383.1 MB, free: 13.47 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.006142, allocations: 0 / 383.1 MB, free: 13.47 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.793e-05/0.00618, allocations: 11.98 kB / 383.2 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004268/0.006606, allocations: 427.6 kB / 383.6 MB, free: 13 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.026e-05/0.006687, allocations: 42.98 kB / 383.6 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.772e-05/0.006714, allocations: 19.62 kB / 383.6 MB, free: 12.93 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.426e-05/0.006739, allocations: 4 kB / 383.6 MB, free: 12.92 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/0.00676, allocations: 37.39 kB / 383.7 MB, free: 12.88 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.006761, allocations: 0 / 383.7 MB, free: 12.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004589/0.00722, allocations: 208.8 kB / 383.9 MB, free: 12.66 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.237e-05/0.007253, allocations: 59.34 kB / 383.9 MB, free: 12.59 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000426/0.007679, allocations: 0.6393 MB / 384.6 MB, free: 11.94 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.031e-05/0.007689, allocations: 25.7 kB / 384.6 MB, free: 11.91 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001515/0.00784, allocations: 278.8 kB / 384.9 MB, free: 11.63 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.857e-05/0.007869, allocations: 23.8 kB / 384.9 MB, free: 11.61 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.158e-05/0.007901, allocations: 27.38 kB / 384.9 MB, free: 11.57 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.008065, allocations: 0.5547 MB / 385.5 MB, free: 11 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.142e-05/0.008087, allocations: 8 kB / 385.5 MB, free: 11 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.019e-05/0.008107, allocations: 12.06 kB / 385.5 MB, free: 10.98 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.94e-05/0.008156, allocations: 47.61 kB / 385.5 MB, free: 10.93 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.008157, allocations: 0 / 385.5 MB, free: 10.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001043/0.008261, allocations: 97.41 kB / 385.6 MB, free: 10.83 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.008274, allocations: 4 kB / 385.6 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.008278, allocations: 0 / 385.6 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.008295, allocations: 0 / 385.6 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.987e-05/0.008385, allocations: 19.98 kB / 385.7 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.00839, allocations: 0 / 385.7 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.168e-05/0.008422, allocations: 19.94 kB / 385.7 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.008427, allocations: 0 / 385.7 MB, free: 10.79 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.706e-05/0.008505, allocations: 168.4 kB / 385.8 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.817e-05/0.008543, allocations: 47.72 kB / 385.9 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001825/0.008725, allocations: 97.55 kB / 386 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.008727, allocations: 0 / 386 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.00873, allocations: 0 / 386 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.008734, allocations: 3.984 kB / 386 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003379/0.009072, allocations: 485.2 kB / 386.5 MB, free: 9.941 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.009074, allocations: 8 kB / 386.5 MB, free: 9.934 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.052e-05/0.009115, allocations: 15.98 kB / 386.5 MB, free: 9.918 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.009117, allocations: 0 / 386.5 MB, free: 9.918 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-06/0.009124, allocations: 288 / 386.5 MB, free: 9.918 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.009125, allocations: 0 / 386.5 MB, free: 9.918 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.009126, allocations: 0 / 386.5 MB, free: 9.918 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001313/0.009257, allocations: 275.8 kB / 386.8 MB, free: 9.629 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.981e-05/0.009287, allocations: 39.7 kB / 386.8 MB, free: 9.59 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.644e-05/0.009303, allocations: 0 / 386.8 MB, free: 9.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.566e-05/0.009349, allocations: 8 kB / 386.8 MB, free: 9.582 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.706e-05/0.009386, allocations: 7.984 kB / 386.8 MB, free: 9.574 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.00939, allocations: 4 kB / 386.8 MB, free: 9.57 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002477/0.009638, allocations: 426.8 kB / 387.2 MB, free: 9.156 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009638, allocations: 0 / 387.2 MB, free: 9.156 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001711/0.009809, allocations: 24 kB / 387.3 MB, free: 9.133 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.0007951/0.0106, allocations: 386.3 kB / 387.6 MB, free: 8.891 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001103/0.01071, allocations: 35.67 kB / 387.7 MB, free: 8.852 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.01072, allocations: 4 kB / 387.7 MB, free: 8.848 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.966e-05/0.01075, allocations: 27.61 kB / 387.7 MB, free: 8.816 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002378/0.01098, allocations: 33.33 kB / 387.7 MB, free: 8.789 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006981/0.01168, allocations: 0.5902 MB / 388.3 MB, free: 8.168 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.278e-05/0.01175, allocations: 123.2 kB / 388.4 MB, free: 8.027 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.094e-05/0.01179, allocations: 12.3 kB / 388.5 MB, free: 8.016 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.119e-05/0.01182, allocations: 20.48 kB / 388.5 MB, free: 7.996 MB / 362.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01182, allocations: 0 / 388.5 MB, free: 7.996 MB / 362.7 MB Notification: Performance of Templates: time 0.003813/0.01563, allocations: 1.485 MB / 390 MB, free: 6.516 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test6/Test6.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.2800253061577678]