Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.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.0007724/0.0007724, 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.00386/0.00386, allocations: 162.7 kB / 24.7 MB, free: 9.43 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.9528/0.9528, allocations: 177.2 MB / 205 MB, free: 5.715 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.2477/0.2477, allocations: 32.79 MB / 294.2 MB, free: 1.199 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.CombiTable1Dv.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 440.9 MB, free: 3.719 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.67e-05/2.842e-05, allocations: 2.281 kB / 440.9 MB, free: 3.715 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test34): time 0.002236/0.002265, allocations: 1.611 MB / 442.5 MB, free: 2.09 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.000763/0.003028, allocations: 0.5375 MB / 443 MB, free: 1.547 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.921e-05/0.003097, allocations: 7.938 kB / 443 MB, free: 1.539 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002815/0.003378, allocations: 79.64 kB / 443.1 MB, free: 1.461 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002825/0.003661, allocations: 107.5 kB / 443.2 MB, free: 1.355 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002317/0.003893, allocations: 105 kB / 443.3 MB, free: 1.254 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001672/0.00406, allocations: 91.67 kB / 443.4 MB, free: 1.164 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.004179, allocations: 15.98 kB / 443.4 MB, free: 1.148 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.861e-05/0.004257, allocations: 43.91 kB / 443.5 MB, free: 1.105 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000105/0.004362, allocations: 55.86 kB / 443.5 MB, free: 1.051 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.485e-05/0.004377, allocations: 0 / 443.5 MB, free: 1.051 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.14e-05/0.004458, allocations: 51.91 kB / 443.6 MB, free: 1 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.507e-05/0.004523, allocations: 19.94 kB / 443.6 MB, free: 0.9805 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.079e-05/0.004554, allocations: 15.86 kB / 443.6 MB, free: 0.9648 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001795/0.004734, allocations: 107.6 kB / 443.7 MB, free: 0.8594 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.004738, allocations: 3.984 kB / 443.7 MB, free: 0.8555 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.004739, allocations: 0 / 443.7 MB, free: 0.8555 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.179e-06/0.004744, allocations: 4 kB / 443.7 MB, free: 0.8516 MB / 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.0004204/0.005164, allocations: 337.6 kB / 444 MB, free: 0.4922 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.005204, allocations: 8.031 kB / 444.1 MB, free: 496 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.11e-05/0.005245, allocations: 16.84 kB / 444.1 MB, free: 480 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001552/0.0054, allocations: 138.3 kB / 444.2 MB, free: 312 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.00541, allocations: 4.375 kB / 444.2 MB, free: 308 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.666e-05/0.005437, allocations: 12.27 kB / 444.2 MB, free: 296 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001427/0.00558, allocations: 54.23 kB / 444.3 MB, free: 236 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.005592, allocations: 192 / 444.3 MB, free: 236 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.005604, allocations: 8.062 kB / 444.3 MB, free: 228 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.005609, allocations: 8 kB / 444.3 MB, free: 220 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.483e-05/0.005674, allocations: 23.98 kB / 444.3 MB, free: 196 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2195/0.2251, allocations: 235.1 kB / 444.5 MB, free: 46.51 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001419/0.2253, allocations: 48.31 kB / 444.6 MB, free: 46.49 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.305e-05/0.2253, allocations: 15.02 kB / 444.6 MB, free: 46.48 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.955e-05/0.2253, allocations: 3.922 kB / 444.6 MB, free: 46.48 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.789e-05/0.2254, allocations: 37.58 kB / 444.6 MB, free: 46.44 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.503e-06/0.2254, allocations: 0 / 444.6 MB, free: 46.44 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006522/0.226, allocations: 253.1 kB / 444.9 MB, free: 46.41 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.717e-05/0.226, allocations: 52.81 kB / 444.9 MB, free: 46.35 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001376/0.2262, allocations: 208.2 kB / 445.1 MB, free: 46.25 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.426e-06/0.2262, allocations: 27.42 kB / 445.2 MB, free: 46.22 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.938e-05/0.2262, allocations: 103.5 kB / 445.3 MB, free: 46.14 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.579e-05/0.2262, allocations: 33.86 kB / 445.3 MB, free: 46.12 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.225e-05/0.2263, allocations: 22.22 kB / 445.3 MB, free: 46.11 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.17e-05/0.2263, allocations: 327.3 kB / 445.7 MB, free: 45.79 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.034e-05/0.2264, allocations: 37.61 kB / 445.7 MB, free: 45.79 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.842e-05/0.2264, allocations: 27.66 kB / 445.7 MB, free: 45.79 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.542e-05/0.2265, allocations: 72.47 kB / 445.8 MB, free: 45.79 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.2265, allocations: 0 / 445.8 MB, free: 45.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001161/0.2266, allocations: 119.9 kB / 445.9 MB, free: 45.74 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.2266, allocations: 9.219 kB / 445.9 MB, free: 45.74 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.2266, allocations: 0 / 445.9 MB, free: 45.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.2267, allocations: 0 / 445.9 MB, free: 45.74 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.376e-05/0.2267, allocations: 19.3 kB / 445.9 MB, free: 45.74 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.2267, allocations: 0 / 445.9 MB, free: 45.74 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.184e-05/0.2268, allocations: 6.109 kB / 445.9 MB, free: 45.74 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.2268, allocations: 10.34 kB / 445.9 MB, free: 45.74 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 (8): * Single equations (assignments): 8 * 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 5.812e-05/0.2268, allocations: 130.5 kB / 446.1 MB, free: 45.63 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.581e-05/0.2268, allocations: 13.77 kB / 446.1 MB, free: 45.62 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001678/0.227, allocations: 131.5 kB / 446.2 MB, free: 45.59 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.227, allocations: 6.141 kB / 446.2 MB, free: 45.59 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.227, allocations: 0 / 446.2 MB, free: 45.59 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.227, allocations: 0 / 446.2 MB, free: 45.59 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002857/0.2273, allocations: 367.8 kB / 446.6 MB, free: 45.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.2273, allocations: 0 / 446.6 MB, free: 45.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.469e-05/0.2273, allocations: 16.62 kB / 446.6 MB, free: 45.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.2273, allocations: 2.875 kB / 446.6 MB, free: 45.34 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.2273, allocations: 3.328 kB / 446.6 MB, free: 45.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.063e-06/0.2273, allocations: 2.812 kB / 446.6 MB, free: 45.34 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.2274, allocations: 0 / 446.6 MB, free: 45.34 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001189/0.2275, allocations: 225.6 kB / 446.8 MB, free: 45.17 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.255e-06/0.2275, allocations: 6.609 kB / 446.8 MB, free: 45.17 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.4e-05/0.2275, allocations: 0 / 446.8 MB, free: 45.17 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.569e-05/0.2275, allocations: 8.594 kB / 446.8 MB, free: 45.17 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.146e-05/0.2276, allocations: 9.938 kB / 446.9 MB, free: 45.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.2276, allocations: 2.594 kB / 446.9 MB, free: 45.16 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.481e-05/0.2276, allocations: 161.9 kB / 447 MB, free: 45.07 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2276, allocations: 2.188 kB / 447 MB, free: 45.07 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001634/0.2278, allocations: 21.81 kB / 447 MB, free: 45.07 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.0007774/0.2286, allocations: 496.1 kB / 447.5 MB, free: 44.93 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000148/0.2287, allocations: 80.17 kB / 447.6 MB, free: 44.91 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.2287, allocations: 0 / 447.6 MB, free: 44.91 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.495e-05/0.2288, allocations: 41.69 kB / 447.6 MB, free: 44.9 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002901/0.2291, allocations: 23.14 kB / 447.7 MB, free: 44.89 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004582/0.2295, allocations: 291.1 kB / 447.9 MB, free: 44.69 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.38e-05/0.2296, allocations: 99.55 kB / 448 MB, free: 44.62 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.379e-05/0.2296, allocations: 20.02 kB / 448.1 MB, free: 44.61 MB / 410.7 MB Notification: Performance of SimCode: time 6.81e-07/0.2296, allocations: 0 / 448.1 MB, free: 44.61 MB / 410.7 MB Notification: Performance of Templates: time 0.003199/0.2328, allocations: 1.877 MB / 449.9 MB, free: 44.4 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test34/Test34.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.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.916481903754175]