Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.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.001045/0.001045, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009533/0.0009533, allocations: 161 kB / 24.56 MB, free: 16 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 0.9325/0.9325, allocations: 177.1 MB / 205 MB, free: 5.246 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.2312/0.2312, allocations: 32.8 MB / 294.3 MB, free: 1.16 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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 376 MB, free: 4.645 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.643e-05/1.768e-05, allocations: 2.312 kB / 376 MB, free: 4.641 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.002359/0.002377, allocations: 1.645 MB / 377.7 MB, free: 2.984 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001337/0.003714, allocations: 1.274 MB / 378.9 MB, free: 1.703 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.154e-05/0.003766, allocations: 4 kB / 379 MB, free: 1.699 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002059/0.003972, allocations: 31.72 kB / 379 MB, free: 1.668 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003331/0.007303, allocations: 91.55 kB / 379.1 MB, free: 1.578 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002673/0.007571, allocations: 111.6 kB / 379.2 MB, free: 1.469 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001391/0.00771, allocations: 71.72 kB / 379.3 MB, free: 1.398 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.125e-05/0.007791, allocations: 15.97 kB / 379.3 MB, free: 1.383 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.81e-05/0.007849, allocations: 27.92 kB / 379.3 MB, free: 1.355 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.031e-05/0.007939, allocations: 31.12 kB / 379.3 MB, free: 1.328 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.626e-05/0.007956, allocations: 4 kB / 379.3 MB, free: 1.324 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001383/0.008094, allocations: 87.89 kB / 379.4 MB, free: 1.238 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.171e-05/0.008136, allocations: 19.92 kB / 379.4 MB, free: 1.219 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.784e-05/0.008164, allocations: 15.92 kB / 379.4 MB, free: 1.203 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000214/0.008378, allocations: 131.5 kB / 379.6 MB, free: 1.074 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.00838, allocations: 4 kB / 379.6 MB, free: 1.07 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.42e-07/0.00838, allocations: 0 / 379.6 MB, free: 1.07 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.008384, allocations: 0 / 379.6 MB, free: 1.07 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000395/0.008779, allocations: 432 kB / 380 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.21e-05/0.008811, allocations: 8.031 kB / 380 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.48e-05/0.008856, allocations: 8.891 kB / 380 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001448/0.009001, allocations: 140.4 kB / 380.2 MB, free: 444 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.737e-06/0.00901, allocations: 4.375 kB / 380.2 MB, free: 440 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.009028, allocations: 4.375 kB / 380.2 MB, free: 436 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001306/0.009159, allocations: 100 kB / 380.3 MB, free: 312 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.009169, allocations: 4.188 kB / 380.3 MB, free: 308 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.00918, allocations: 8.125 kB / 380.3 MB, free: 300 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.009187, allocations: 0 / 380.3 MB, free: 300 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.8e-05/0.009215, allocations: 4 kB / 380.3 MB, free: 296 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000288/0.009503, allocations: 287.7 kB / 380.6 MB, free: 15.97 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001461/0.009649, allocations: 35.06 kB / 380.6 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.25e-05/0.009671, allocations: 19.77 kB / 380.6 MB, free: 15.9 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.536e-05/0.009686, allocations: 7.938 kB / 380.6 MB, free: 15.89 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.153e-05/0.009708, allocations: 33.39 kB / 380.7 MB, free: 15.85 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.009709, allocations: 4 kB / 380.7 MB, free: 15.85 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003161/0.01002, allocations: 97.41 kB / 380.8 MB, free: 15.75 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.426e-05/0.01006, allocations: 81.11 kB / 380.8 MB, free: 15.65 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003162/0.01322, allocations: 196.4 kB / 381 MB, free: 15.44 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.614e-05/0.01324, allocations: 29.7 kB / 381.1 MB, free: 15.41 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.288e-05/0.01329, allocations: 142.8 kB / 381.2 MB, free: 15.26 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.528e-05/0.01332, allocations: 27.83 kB / 381.2 MB, free: 15.23 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.529e-05/0.01335, allocations: 19.38 kB / 381.2 MB, free: 15.21 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.01347, allocations: 0.4923 MB / 381.7 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.107e-05/0.01349, allocations: 11.98 kB / 381.7 MB, free: 14.69 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.936e-05/0.01353, allocations: 49.14 kB / 381.8 MB, free: 14.63 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.646e-05/0.01358, allocations: 27.67 kB / 381.8 MB, free: 14.6 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.01358, allocations: 0 / 381.8 MB, free: 14.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.377e-05/0.01367, allocations: 61.58 kB / 381.9 MB, free: 14.53 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.01368, allocations: 4 kB / 381.9 MB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.01369, allocations: 0 / 381.9 MB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.0137, allocations: 11.92 kB / 381.9 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.322e-05/0.01375, allocations: 8 kB / 381.9 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.01376, allocations: 4.031 kB / 381.9 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.69e-05/0.01378, allocations: 7.891 kB / 381.9 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.189e-06/0.01379, allocations: 4 kB / 381.9 MB, free: 14.49 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 (5): * Single equations (assignments): 5 * 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.758e-05/0.01386, allocations: 160.6 kB / 382.1 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.124e-05/0.01389, allocations: 15.89 kB / 382.1 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001109/0.014, allocations: 58.16 kB / 382.1 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.014, allocations: 0 / 382.1 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.014, allocations: 3.984 kB / 382.2 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.01401, allocations: 0 / 382.2 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002591/0.01427, allocations: 325.3 kB / 382.5 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.01427, allocations: 4 kB / 382.5 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.251e-05/0.0143, allocations: 8.312 kB / 382.5 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-06/0.0143, allocations: 0 / 382.5 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.01431, allocations: 12 kB / 382.5 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.01431, allocations: 0 / 382.5 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.01431, allocations: 0 / 382.5 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001151/0.01443, allocations: 207.8 kB / 382.7 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.339e-05/0.01444, allocations: 15.94 kB / 382.7 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.352e-05/0.01446, allocations: 0 / 382.7 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.988e-05/0.01451, allocations: 4 kB / 382.7 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.676e-05/0.01453, allocations: 7.984 kB / 382.7 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.529e-06/0.01454, allocations: 4 kB / 382.7 MB, free: 13.61 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.107e-05/0.01461, allocations: 148.7 kB / 382.9 MB, free: 13.46 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01461, allocations: 0 / 382.9 MB, free: 13.46 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002668/0.01487, allocations: 39.86 kB / 382.9 MB, free: 13.42 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 (5): * Single equations (assignments): 5 * 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.004113/0.01899, allocations: 487.3 kB / 383.4 MB, free: 13.11 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001147/0.0191, allocations: 31.62 kB / 383.4 MB, free: 13.08 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.0191, allocations: 0 / 383.4 MB, free: 13.08 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.829e-05/0.01913, allocations: 23.67 kB / 383.4 MB, free: 13.05 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002591/0.01939, allocations: 23.92 kB / 383.5 MB, free: 13.03 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002995/0.01969, allocations: 165.9 kB / 383.6 MB, free: 12.84 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.843e-05/0.01973, allocations: 63.34 kB / 383.7 MB, free: 12.75 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.835e-05/0.01978, allocations: 19.97 kB / 383.7 MB, free: 12.73 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.635e-05/0.01981, allocations: 24.42 kB / 383.7 MB, free: 12.71 MB / 362.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01981, allocations: 0 / 383.7 MB, free: 12.71 MB / 362.7 MB Notification: Performance of Templates: time 0.006974/0.02679, allocations: 2.023 MB / 385.8 MB, free: 10.71 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.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: 2.9476663200184703]