Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.001512/0.001512, allocations: 84.62 kB / 20.68 MB, free: 1.023 MB / 14.72 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.001641/0.001641, allocations: 163.7 kB / 23.95 MB, free: 4.156 MB / 14.72 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.421/1.421, allocations: 177.1 MB / 204.3 MB, free: 9.199 MB / 190.1 MB " [Timeout remaining time 178] 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.1926/0.1926, allocations: 32.81 MB / 293.5 MB, free: 52 kB / 270.1 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.Test10,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.Test10") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test10,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.Test10") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.243e-06/1.243e-06, allocations: 0 / 440.1 MB, free: 8.168 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.675e-05/2.799e-05, allocations: 2.281 kB / 440.1 MB, free: 8.164 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test10): time 0.002967/0.002995, allocations: 1.654 MB / 441.8 MB, free: 6.5 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001958/0.004952, allocations: 1.27 MB / 443 MB, free: 5.223 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.067e-05/0.005013, allocations: 0 / 443 MB, free: 5.223 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000224/0.005237, allocations: 39.72 kB / 443.1 MB, free: 5.184 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003469/0.005584, allocations: 83.55 kB / 443.2 MB, free: 5.102 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004235/0.006007, allocations: 175.1 kB / 443.3 MB, free: 4.934 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001768/0.006184, allocations: 83.75 kB / 443.4 MB, free: 4.852 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.811e-05/0.006282, allocations: 12 kB / 443.4 MB, free: 4.84 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.002e-05/0.006362, allocations: 39.91 kB / 443.5 MB, free: 4.801 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001132/0.006475, allocations: 31.89 kB / 443.5 MB, free: 4.77 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.082e-05/0.006496, allocations: 4 kB / 443.5 MB, free: 4.766 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000173/0.006669, allocations: 99.69 kB / 443.6 MB, free: 4.668 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.484e-05/0.006734, allocations: 23.92 kB / 443.6 MB, free: 4.645 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.797e-05/0.006772, allocations: 15.92 kB / 443.6 MB, free: 4.629 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003043/0.007076, allocations: 155.6 kB / 443.8 MB, free: 4.477 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.00708, allocations: 0 / 443.8 MB, free: 4.477 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.22e-07/0.007081, allocations: 0 / 443.8 MB, free: 4.477 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.007085, allocations: 0 / 443.8 MB, free: 4.477 MB / 366.1 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.0005627/0.007648, allocations: 341.6 kB / 444.1 MB, free: 4.113 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.007681, allocations: 8.031 kB / 444.1 MB, free: 4.105 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.569e-05/0.007727, allocations: 8.891 kB / 444.1 MB, free: 4.098 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002153/0.007942, allocations: 145.5 kB / 444.3 MB, free: 3.93 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.546e-06/0.007951, allocations: 4.359 kB / 444.3 MB, free: 3.926 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.548e-05/0.007976, allocations: 4.375 kB / 444.3 MB, free: 3.922 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002345/0.008211, allocations: 109.6 kB / 444.4 MB, free: 3.797 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.008223, allocations: 192 / 444.4 MB, free: 3.797 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.008235, allocations: 4.125 kB / 444.4 MB, free: 3.793 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.008239, allocations: 4 kB / 444.4 MB, free: 3.789 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001426/0.008381, allocations: 39.91 kB / 444.4 MB, free: 3.75 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004445/0.008826, allocations: 244.5 kB / 444.7 MB, free: 3.48 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001349/0.008961, allocations: 42.66 kB / 444.7 MB, free: 3.43 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.017e-05/0.009041, allocations: 32.77 kB / 444.7 MB, free: 3.395 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.825e-05/0.009059, allocations: 0 / 444.7 MB, free: 3.395 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/0.009087, allocations: 34.56 kB / 444.8 MB, free: 3.352 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 9.01e-07/0.009088, allocations: 7.938 kB / 444.8 MB, free: 3.344 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008288/0.009917, allocations: 225.3 kB / 445 MB, free: 3.117 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.635e-05/0.009974, allocations: 81.09 kB / 445.1 MB, free: 3.02 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001597/0.01013, allocations: 156.5 kB / 445.2 MB, free: 2.859 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.01015, allocations: 29.7 kB / 445.3 MB, free: 2.824 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.281e-05/0.01021, allocations: 96.12 kB / 445.4 MB, free: 2.727 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.837e-05/0.01024, allocations: 27.81 kB / 445.4 MB, free: 2.699 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.193e-05/0.01028, allocations: 21.72 kB / 445.4 MB, free: 2.672 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.01042, allocations: 326.8 kB / 445.7 MB, free: 2.344 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001229/0.01054, allocations: 35.97 kB / 445.8 MB, free: 2.309 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001531/0.0107, allocations: 79.38 kB / 445.8 MB, free: 2.219 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002491/0.01095, allocations: 92.83 kB / 445.9 MB, free: 2.125 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.01095, allocations: 0 / 445.9 MB, free: 2.125 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003012/0.01125, allocations: 121.6 kB / 446.1 MB, free: 2 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.01127, allocations: 7.938 kB / 446.1 MB, free: 1.992 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.01127, allocations: 0 / 446.1 MB, free: 1.992 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.279e-05/0.01129, allocations: 0 / 446.1 MB, free: 1.992 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001266/0.01142, allocations: 23.98 kB / 446.1 MB, free: 1.969 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.01143, allocations: 0 / 446.1 MB, free: 1.969 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.949e-05/0.01149, allocations: 15.92 kB / 446.1 MB, free: 1.953 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.204e-06/0.0115, allocations: 0 / 446.1 MB, free: 1.953 MB / 366.1 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 0.0001106/0.01161, allocations: 130.4 kB / 446.2 MB, free: 1.816 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.749e-05/0.01165, allocations: 7.953 kB / 446.2 MB, free: 1.809 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003822/0.01203, allocations: 146.3 kB / 446.4 MB, free: 1.656 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.01203, allocations: 0 / 446.4 MB, free: 1.656 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.01204, allocations: 0 / 446.4 MB, free: 1.656 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.01204, allocations: 0 / 446.4 MB, free: 1.656 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005498/0.01259, allocations: 346.5 kB / 446.7 MB, free: 1.281 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.01259, allocations: 0 / 446.7 MB, free: 1.281 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.956e-05/0.01268, allocations: 23.98 kB / 446.7 MB, free: 1.258 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.01268, allocations: 0 / 446.7 MB, free: 1.258 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.01269, allocations: 4 kB / 446.7 MB, free: 1.254 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.0127, allocations: 3.938 kB / 446.7 MB, free: 1.25 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.0127, allocations: 0 / 446.7 MB, free: 1.25 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003626/0.01306, allocations: 235.4 kB / 447 MB, free: 1.004 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.597e-05/0.01308, allocations: 7.938 kB / 447 MB, free: 0.9961 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.714e-05/0.01311, allocations: 8 kB / 447 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.362e-05/0.0132, allocations: 7.984 kB / 447 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.249e-05/0.01324, allocations: 8.281 kB / 447 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.79e-06/0.01325, allocations: 0 / 447 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.512e-05/0.01334, allocations: 115.2 kB / 447.1 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01334, allocations: 0 / 447.1 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002933/0.01364, allocations: 47.8 kB / 447.2 MB, free: 0.8125 MB / 366.1 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.001837/0.01547, allocations: 0.5288 MB / 447.7 MB, free: 0.5 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003234/0.0158, allocations: 95.84 kB / 447.8 MB, free: 416 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.0158, allocations: 4 kB / 447.8 MB, free: 412 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000132/0.01593, allocations: 43.95 kB / 447.8 MB, free: 368 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002994/0.01623, allocations: 19 kB / 447.9 MB, free: 352 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005309/0.01676, allocations: 225.1 kB / 448.1 MB, free: 96 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1618/0.1786, allocations: 79.89 kB / 448.2 MB, free: 21.5 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001503/0.1788, allocations: 25.2 kB / 448.2 MB, free: 21.49 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.473e-05/0.1788, allocations: 23.3 kB / 448.2 MB, free: 21.48 MB / 366.1 MB Notification: Performance of SimCode: time 1.182e-06/0.1788, allocations: 0 / 448.2 MB, free: 21.48 MB / 366.1 MB Notification: Performance of Templates: time 0.005566/0.1844, allocations: 1.99 MB / 450.2 MB, free: 21.34 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test10/Test10.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.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: 4.683051656931639]