Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.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.001137/0.001137, allocations: 81.97 kB / 22.21 MB, free: 2.285 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.001019/0.001019, allocations: 167.3 kB / 25.61 MB, free: 8.859 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.9423/0.9423, allocations: 177.1 MB / 206 MB, free: 4.52 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.1393/0.1393, allocations: 32.8 MB / 295.4 MB, free: 15.39 MB / 282.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.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 377.3 MB, free: 25.59 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.72e-05/2.896e-05, allocations: 6.25 kB / 377.3 MB, free: 25.58 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test27): time 0.002125/0.002154, allocations: 1.634 MB / 378.9 MB, free: 23.93 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006707/0.002825, allocations: 0.5375 MB / 379.5 MB, free: 23.39 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.216e-05/0.002897, allocations: 4 kB / 379.5 MB, free: 23.39 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003049/0.003202, allocations: 123.5 kB / 379.6 MB, free: 23.27 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002713/0.003473, allocations: 127.5 kB / 379.7 MB, free: 23.14 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002513/0.003725, allocations: 119.6 kB / 379.8 MB, free: 23.02 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001688/0.003893, allocations: 103.7 kB / 379.9 MB, free: 22.92 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.409e-05/0.003988, allocations: 8 kB / 379.9 MB, free: 22.91 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.548e-05/0.004053, allocations: 59.86 kB / 380 MB, free: 22.86 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.669e-05/0.00415, allocations: 83.83 kB / 380.1 MB, free: 22.77 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.273e-05/0.004162, allocations: 4 kB / 380.1 MB, free: 22.77 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.181e-05/0.004234, allocations: 43.92 kB / 380.1 MB, free: 22.73 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.34e-05/0.004278, allocations: 35.84 kB / 380.2 MB, free: 22.69 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.358e-05/0.004301, allocations: 15.94 kB / 380.2 MB, free: 22.68 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001329/0.004434, allocations: 103.5 kB / 380.3 MB, free: 22.57 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.004438, allocations: 0 / 380.3 MB, free: 22.57 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.91e-07/0.004439, allocations: 0 / 380.3 MB, free: 22.57 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.628e-06/0.004443, allocations: 0 / 380.3 MB, free: 22.57 MB / 314.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.0003268/0.00477, allocations: 471.7 kB / 380.7 MB, free: 22.08 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.004803, allocations: 15.92 kB / 380.7 MB, free: 22.06 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.338e-05/0.004837, allocations: 16.84 kB / 380.8 MB, free: 22.05 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001067/0.004943, allocations: 152.4 kB / 380.9 MB, free: 21.87 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.047e-06/0.004952, allocations: 8.375 kB / 380.9 MB, free: 21.86 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.573e-05/0.004968, allocations: 384 / 380.9 MB, free: 21.86 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.674e-05/0.005055, allocations: 58.89 kB / 381 MB, free: 21.8 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.005066, allocations: 8.172 kB / 381 MB, free: 21.79 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.053e-06/0.005073, allocations: 4.125 kB / 381 MB, free: 21.79 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.005078, allocations: 0 / 381 MB, free: 21.79 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.068e-05/0.005099, allocations: 7.984 kB / 381 MB, free: 21.78 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003093/0.005408, allocations: 284.4 kB / 381.3 MB, free: 21.47 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.071e-05/0.005469, allocations: 43 kB / 381.3 MB, free: 21.42 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.507e-05/0.005484, allocations: 11.77 kB / 381.3 MB, free: 21.4 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.493e-05/0.005499, allocations: 8 kB / 381.3 MB, free: 21.39 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.433e-05/0.005513, allocations: 37.33 kB / 381.4 MB, free: 21.35 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 1.253e-06/0.005514, allocations: 0 / 381.4 MB, free: 21.35 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004326/0.005947, allocations: 165.3 kB / 381.5 MB, free: 21.18 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.185e-05/0.005969, allocations: 51.41 kB / 381.6 MB, free: 21.12 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.975e-05/0.006069, allocations: 262.7 kB / 381.8 MB, free: 20.84 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.422e-06/0.006075, allocations: 33.7 kB / 381.9 MB, free: 20.8 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.022e-05/0.006115, allocations: 166.8 kB / 382 MB, free: 20.63 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.156e-05/0.006137, allocations: 35.73 kB / 382.1 MB, free: 20.6 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.758e-05/0.006164, allocations: 23.36 kB / 382.1 MB, free: 20.57 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.8e-05/0.006212, allocations: 0.504 MB / 382.6 MB, free: 20.05 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.647e-05/0.006229, allocations: 15.92 kB / 382.6 MB, free: 20.04 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.224e-05/0.006241, allocations: 8 kB / 382.6 MB, free: 20.03 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.462e-05/0.006286, allocations: 31.67 kB / 382.7 MB, free: 19.99 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.006288, allocations: 3.938 kB / 382.7 MB, free: 19.99 MB / 314.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001012/0.006389, allocations: 77.58 kB / 382.7 MB, free: 19.91 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.006402, allocations: 4 kB / 382.7 MB, free: 19.9 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.006408, allocations: 4 kB / 382.7 MB, free: 19.9 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.006419, allocations: 3.938 kB / 382.7 MB, free: 19.89 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.216e-05/0.006481, allocations: 19.94 kB / 382.8 MB, free: 19.88 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.876e-06/0.006484, allocations: 0 / 382.8 MB, free: 19.88 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.88e-05/0.006503, allocations: 7.984 kB / 382.8 MB, free: 19.87 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.619e-06/0.006508, allocations: 0 / 382.8 MB, free: 19.87 MB / 314.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 4.418e-05/0.006552, allocations: 164.5 kB / 382.9 MB, free: 19.7 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.275e-05/0.006575, allocations: 15.91 kB / 382.9 MB, free: 19.68 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001146/0.006689, allocations: 83.12 kB / 383 MB, free: 19.59 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.006691, allocations: 0 / 383 MB, free: 19.59 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.006693, allocations: 0 / 383 MB, free: 19.59 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.006696, allocations: 0 / 383 MB, free: 19.59 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002267/0.006922, allocations: 365.5 kB / 383.4 MB, free: 19.2 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.006924, allocations: 0 / 383.4 MB, free: 19.2 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.688e-05/0.006961, allocations: 12 kB / 383.4 MB, free: 19.18 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.006964, allocations: 0 / 383.4 MB, free: 19.18 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/0.006972, allocations: 11.98 kB / 383.4 MB, free: 19.17 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.006974, allocations: 480 / 383.4 MB, free: 19.17 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.006975, allocations: 0 / 383.4 MB, free: 19.17 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.04e-05/0.007065, allocations: 243.8 kB / 383.6 MB, free: 18.91 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.07e-05/0.007076, allocations: 11.91 kB / 383.7 MB, free: 18.9 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.347e-05/0.007089, allocations: 8 kB / 383.7 MB, free: 18.89 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.206e-05/0.007121, allocations: 8.016 kB / 383.7 MB, free: 18.88 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.965e-05/0.007151, allocations: 7.984 kB / 383.7 MB, free: 18.88 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-06/0.007156, allocations: 0 / 383.7 MB, free: 18.88 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.478e-05/0.00721, allocations: 188.1 kB / 383.9 MB, free: 18.69 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007211, allocations: 0 / 383.9 MB, free: 18.69 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001606/0.007371, allocations: 23.92 kB / 383.9 MB, free: 18.67 MB / 314.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.0008718/0.008243, allocations: 436.5 kB / 384.3 MB, free: 18.41 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.536e-05/0.008338, allocations: 39.55 kB / 384.4 MB, free: 18.37 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.00834, allocations: 4 kB / 384.4 MB, free: 18.37 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.583e-05/0.008366, allocations: 27.67 kB / 384.4 MB, free: 18.34 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002139/0.00858, allocations: 30.62 kB / 384.4 MB, free: 18.31 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002981/0.008878, allocations: 261 kB / 384.7 MB, free: 18.02 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.799e-05/0.008906, allocations: 75.19 kB / 384.7 MB, free: 17.93 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.684e-05/0.008943, allocations: 21.08 kB / 384.8 MB, free: 17.91 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.346e-05/0.008986, allocations: 82.2 kB / 384.8 MB, free: 17.82 MB / 314.7 MB Notification: Performance of SimCode: time 6.91e-07/0.008987, allocations: 0 / 384.8 MB, free: 17.82 MB / 314.7 MB Notification: Performance of Templates: time 0.00313/0.01212, allocations: 1.566 MB / 386.4 MB, free: 16.27 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test27/Test27.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.2576264021918178]