Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test25.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.001463/0.001463, allocations: 84.92 kB / 20.68 MB, free: 1.035 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.001518/0.001518, allocations: 164.5 kB / 23.95 MB, free: 4.168 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.629/1.629, allocations: 177.1 MB / 204.3 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] 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.2237/0.2237, allocations: 34.27 MB / 294.9 MB, free: 14.58 MB / 286.1 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.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test25") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test25") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 442.7 MB, free: 5.387 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.406e-05/3.583e-05, allocations: 2.281 kB / 442.7 MB, free: 5.383 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test25): time 0.003316/0.003352, allocations: 1.684 MB / 444.4 MB, free: 3.691 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001159/0.004511, allocations: 0.5336 MB / 444.9 MB, free: 3.152 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.671e-05/0.004578, allocations: 0 / 444.9 MB, free: 3.152 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002715/0.004849, allocations: 55.67 kB / 445 MB, free: 3.098 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003718/0.005221, allocations: 91.55 kB / 445.1 MB, free: 3.008 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004126/0.005634, allocations: 142.9 kB / 445.2 MB, free: 2.871 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001983/0.005832, allocations: 83.81 kB / 445.3 MB, free: 2.789 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001334/0.005965, allocations: 16.16 kB / 445.3 MB, free: 2.77 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.638e-05/0.006062, allocations: 39.89 kB / 445.3 MB, free: 2.73 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001297/0.006192, allocations: 43.88 kB / 445.4 MB, free: 2.688 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.431e-05/0.006216, allocations: 7.938 kB / 445.4 MB, free: 2.68 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001281/0.006344, allocations: 51.92 kB / 445.4 MB, free: 2.629 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.66e-05/0.006431, allocations: 19.92 kB / 445.5 MB, free: 2.609 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.742e-05/0.006468, allocations: 23.86 kB / 445.5 MB, free: 2.586 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002475/0.006715, allocations: 107.6 kB / 445.6 MB, free: 2.48 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.817e-06/0.006724, allocations: 4 kB / 445.6 MB, free: 2.477 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.006726, allocations: 4 kB / 445.6 MB, free: 2.473 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.041e-05/0.006736, allocations: 0 / 445.6 MB, free: 2.473 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006029/0.007339, allocations: 329.7 kB / 445.9 MB, free: 2.121 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.007381, allocations: 11.97 kB / 445.9 MB, free: 2.109 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.346e-05/0.007434, allocations: 16.83 kB / 445.9 MB, free: 2.094 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002192/0.007653, allocations: 134.2 kB / 446.1 MB, free: 1.938 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.238e-06/0.007663, allocations: 8.312 kB / 446.1 MB, free: 1.93 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.741e-05/0.00769, allocations: 4.375 kB / 446.1 MB, free: 1.926 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001971/0.007887, allocations: 65.97 kB / 446.2 MB, free: 1.855 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.537e-05/0.007913, allocations: 8 kB / 446.2 MB, free: 1.848 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.007925, allocations: 4 kB / 446.2 MB, free: 1.844 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.007929, allocations: 0 / 446.2 MB, free: 1.844 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000151/0.00808, allocations: 39.91 kB / 446.2 MB, free: 1.805 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004121/0.008492, allocations: 240.4 kB / 446.4 MB, free: 1.539 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000279/0.008772, allocations: 58.58 kB / 446.5 MB, free: 1.473 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.883e-05/0.00886, allocations: 28.95 kB / 446.5 MB, free: 1.441 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.278e-05/0.008883, allocations: 4 kB / 446.5 MB, free: 1.438 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.665e-05/0.00892, allocations: 30.56 kB / 446.6 MB, free: 1.398 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.864e-06/0.008922, allocations: 4 kB / 446.6 MB, free: 1.395 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.001646/0.01057, allocations: 385.5 kB / 446.9 MB, free: 1.012 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.121e-05/0.01062, allocations: 55.41 kB / 447 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002079/0.01083, allocations: 177.5 kB / 447.2 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.01085, allocations: 33.7 kB / 447.2 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.978e-05/0.01093, allocations: 100.1 kB / 447.3 MB, free: 0.625 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.673e-05/0.01098, allocations: 43.69 kB / 447.3 MB, free: 0.582 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.006e-05/0.01103, allocations: 21.66 kB / 447.4 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.01118, allocations: 322.8 kB / 447.7 MB, free: 236 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001495/0.01133, allocations: 47.91 kB / 447.7 MB, free: 188 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001302/0.01146, allocations: 39.97 kB / 447.8 MB, free: 148 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002769/0.01174, allocations: 104.8 kB / 447.9 MB, free: 40 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.71e-07/0.01174, allocations: 0 / 447.9 MB, free: 40 kB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.2258/0.2375, allocations: 137.4 kB / 448 MB, free: 19.06 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/0.2376, allocations: 4.625 kB / 448 MB, free: 19.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.2376, allocations: 5.641 kB / 448 MB, free: 19.06 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.132e-05/0.2376, allocations: 0 / 448 MB, free: 19.06 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/0.2377, allocations: 29.8 kB / 448 MB, free: 19.06 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.2377, allocations: 2.938 kB / 448 MB, free: 19.06 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.364e-05/0.2378, allocations: 13.83 kB / 448.1 MB, free: 19.06 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.348e-05/0.2378, allocations: 9.062 kB / 448.1 MB, free: 19.06 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 (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 9.105e-05/0.2379, allocations: 121 kB / 448.2 MB, free: 18.95 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.783e-05/0.2379, allocations: 13.2 kB / 448.2 MB, free: 18.95 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004169/0.2384, allocations: 174.5 kB / 448.4 MB, free: 18.91 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.2384, allocations: 1.344 kB / 448.4 MB, free: 18.91 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.2384, allocations: 1.641 kB / 448.4 MB, free: 18.91 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.2384, allocations: 4.406 kB / 448.4 MB, free: 18.91 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006167/0.239, allocations: 397.6 kB / 448.8 MB, free: 18.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.239, allocations: 3.844 kB / 448.8 MB, free: 18.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000113/0.2391, allocations: 28.02 kB / 448.8 MB, free: 18.67 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.2391, allocations: 3.141 kB / 448.8 MB, free: 18.67 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.2391, allocations: 6.125 kB / 448.8 MB, free: 18.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.2391, allocations: 2.594 kB / 448.8 MB, free: 18.67 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.2391, allocations: 5.609 kB / 448.8 MB, free: 18.67 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000345/0.2395, allocations: 248 kB / 449 MB, free: 18.52 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.747e-05/0.2395, allocations: 16.06 kB / 449.1 MB, free: 18.52 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.412e-05/0.2395, allocations: 2.156 kB / 449.1 MB, free: 18.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.2396, allocations: 13.34 kB / 449.1 MB, free: 18.52 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.716e-05/0.2397, allocations: 11.67 kB / 449.1 MB, free: 18.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.051e-05/0.2397, allocations: 3.984 kB / 449.1 MB, free: 18.52 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001014/0.2398, allocations: 138.5 kB / 449.2 MB, free: 18.44 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2398, allocations: 0 / 449.2 MB, free: 18.44 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002952/0.2401, allocations: 27.7 kB / 449.3 MB, free: 18.44 MB / 366.1 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.001837/0.2419, allocations: 492.6 kB / 449.7 MB, free: 18.3 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000365/0.2423, allocations: 112.8 kB / 449.8 MB, free: 18.29 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2423, allocations: 0 / 449.8 MB, free: 18.29 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001449/0.2424, allocations: 53.78 kB / 449.9 MB, free: 18.27 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004062/0.2428, allocations: 22.61 kB / 449.9 MB, free: 18.27 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000643/0.2435, allocations: 271.9 kB / 450.2 MB, free: 18.08 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.485e-05/0.2436, allocations: 96.23 kB / 450.3 MB, free: 18.01 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.565e-05/0.2436, allocations: 20.97 kB / 450.3 MB, free: 18 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.319e-05/0.2437, allocations: 15.83 kB / 450.3 MB, free: 17.99 MB / 366.1 MB Notification: Performance of SimCode: time 4.71e-07/0.2437, allocations: 1.094 kB / 450.3 MB, free: 17.99 MB / 366.1 MB Notification: Performance of Templates: time 0.005335/0.249, allocations: 1.573 MB / 451.9 MB, free: 17.78 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test25.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test25.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test25/Test25.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test25.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.096005942672491]