Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.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.001135/0.001135, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001294/0.001294, allocations: 167.9 kB / 25.61 MB, free: 8.582 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 1.033/1.033, allocations: 177.2 MB / 206.1 MB, free: 4.48 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.153/0.153, allocations: 32.79 MB / 295.4 MB, free: 15.38 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.Test32,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.Test32") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test32,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.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.664e-06/1.664e-06, allocations: 0 / 377.3 MB, free: 25.58 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.17e-05/2.337e-05, allocations: 2.312 kB / 377.3 MB, free: 25.57 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test32): time 0.00202/0.002044, allocations: 1.641 MB / 378.9 MB, free: 23.92 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007094/0.002753, allocations: 0.5453 MB / 379.5 MB, free: 23.37 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.455e-05/0.002818, allocations: 0 / 379.5 MB, free: 23.37 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002751/0.003093, allocations: 107.6 kB / 379.6 MB, free: 23.27 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002408/0.003333, allocations: 115.6 kB / 379.7 MB, free: 23.15 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002408/0.003574, allocations: 111.6 kB / 379.8 MB, free: 23.04 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001344/0.003709, allocations: 95.73 kB / 379.9 MB, free: 22.95 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.966e-05/0.003788, allocations: 15.98 kB / 379.9 MB, free: 22.93 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.322e-05/0.003852, allocations: 55.81 kB / 380 MB, free: 22.88 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.113e-05/0.003933, allocations: 67.86 kB / 380 MB, free: 22.81 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.198e-05/0.003945, allocations: 4 kB / 380 MB, free: 22.81 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.266e-05/0.004017, allocations: 47.91 kB / 380.1 MB, free: 22.76 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.898e-05/0.004056, allocations: 23.92 kB / 380.1 MB, free: 22.74 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.286e-05/0.004079, allocations: 15.88 kB / 380.1 MB, free: 22.72 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001304/0.00421, allocations: 95.66 kB / 380.2 MB, free: 22.63 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.004213, allocations: 0 / 380.2 MB, free: 22.63 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.004213, allocations: 0 / 380.2 MB, free: 22.63 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.958e-06/0.004217, allocations: 7.938 kB / 380.2 MB, free: 22.62 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.0002626/0.00448, allocations: 459.7 kB / 380.7 MB, free: 22.14 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.129e-05/0.004511, allocations: 11.98 kB / 380.7 MB, free: 22.12 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.872e-05/0.00454, allocations: 20.84 kB / 380.7 MB, free: 22.11 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.583e-05/0.004636, allocations: 153.2 kB / 380.9 MB, free: 21.93 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.113e-06/0.004643, allocations: 384 / 380.9 MB, free: 21.93 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.549e-05/0.004658, allocations: 8.359 kB / 380.9 MB, free: 21.92 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.638e-05/0.004725, allocations: 54.95 kB / 380.9 MB, free: 21.86 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.004733, allocations: 192 / 380.9 MB, free: 21.86 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.492e-06/0.00474, allocations: 4.125 kB / 380.9 MB, free: 21.85 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.004744, allocations: 7.938 kB / 380.9 MB, free: 21.84 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.967e-05/0.004764, allocations: 11.98 kB / 380.9 MB, free: 21.83 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001909/0.004955, allocations: 276.4 kB / 381.2 MB, free: 21.54 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.423e-05/0.004999, allocations: 46.97 kB / 381.3 MB, free: 21.48 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.488e-05/0.005014, allocations: 15.69 kB / 381.3 MB, free: 21.46 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.4e-05/0.005028, allocations: 0 / 381.3 MB, free: 21.46 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.328e-05/0.005041, allocations: 37.33 kB / 381.3 MB, free: 21.41 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 5.71e-07/0.005042, allocations: 0 / 381.3 MB, free: 21.41 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003823/0.005424, allocations: 161.5 kB / 381.5 MB, free: 21.25 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.905e-05/0.005443, allocations: 55.41 kB / 381.5 MB, free: 21.18 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.364e-05/0.005537, allocations: 248.9 kB / 381.8 MB, free: 20.92 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.812e-06/0.005544, allocations: 33.7 kB / 381.8 MB, free: 20.88 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.838e-05/0.005582, allocations: 162.8 kB / 382 MB, free: 20.72 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.989e-05/0.005602, allocations: 35.72 kB / 382 MB, free: 20.68 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.617e-05/0.005628, allocations: 23.38 kB / 382 MB, free: 20.65 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.609e-05/0.005674, allocations: 0.5001 MB / 382.5 MB, free: 20.14 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.178e-05/0.005686, allocations: 7.984 kB / 382.5 MB, free: 20.13 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.328e-05/0.005699, allocations: 16 kB / 382.5 MB, free: 20.12 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.17e-05/0.005731, allocations: 31.67 kB / 382.6 MB, free: 20.08 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.005732, allocations: 7.938 kB / 382.6 MB, free: 20.07 MB / 314.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.433e-05/0.005796, allocations: 73.59 kB / 382.6 MB, free: 20 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.047e-05/0.005807, allocations: 11.92 kB / 382.7 MB, free: 19.98 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.005811, allocations: 0 / 382.7 MB, free: 19.98 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.075e-06/0.005819, allocations: 0 / 382.7 MB, free: 19.98 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.869e-05/0.005867, allocations: 12 kB / 382.7 MB, free: 19.97 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.046e-06/0.00587, allocations: 7.938 kB / 382.7 MB, free: 19.96 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.865e-05/0.005889, allocations: 3.984 kB / 382.7 MB, free: 19.96 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.005894, allocations: 4 kB / 382.7 MB, free: 19.96 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.299e-05/0.005937, allocations: 164.5 kB / 382.8 MB, free: 19.79 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.185e-05/0.005959, allocations: 15.95 kB / 382.9 MB, free: 19.77 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001222/0.006081, allocations: 83.09 kB / 382.9 MB, free: 19.68 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.006084, allocations: 3.984 kB / 382.9 MB, free: 19.68 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.006086, allocations: 0 / 382.9 MB, free: 19.68 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.006089, allocations: 0 / 382.9 MB, free: 19.68 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000212/0.006301, allocations: 349.6 kB / 383.3 MB, free: 19.3 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/0.006308, allocations: 3.984 kB / 383.3 MB, free: 19.29 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.885e-05/0.006347, allocations: 15.94 kB / 383.3 MB, free: 19.28 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.006349, allocations: 0 / 383.3 MB, free: 19.28 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.006356, allocations: 12.03 kB / 383.3 MB, free: 19.27 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.006358, allocations: 0 / 383.3 MB, free: 19.27 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.006359, allocations: 0 / 383.3 MB, free: 19.27 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.49e-05/0.006444, allocations: 239.8 kB / 383.6 MB, free: 19.01 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.988e-06/0.006454, allocations: 11.91 kB / 383.6 MB, free: 19 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.023e-05/0.006464, allocations: 0 / 383.6 MB, free: 19 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.367e-05/0.006498, allocations: 11.94 kB / 383.6 MB, free: 18.98 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.331e-05/0.006521, allocations: 7.984 kB / 383.6 MB, free: 18.98 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-06/0.006525, allocations: 0 / 383.6 MB, free: 18.98 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.088e-05/0.006575, allocations: 179.1 kB / 383.8 MB, free: 18.8 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.006575, allocations: 0 / 383.8 MB, free: 18.8 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000168/0.006743, allocations: 27.94 kB / 383.8 MB, free: 18.77 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.0008779/0.007621, allocations: 437.5 kB / 384.2 MB, free: 18.52 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001017/0.007723, allocations: 35.61 kB / 384.2 MB, free: 18.48 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.007726, allocations: 4 kB / 384.3 MB, free: 18.47 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.491e-05/0.007751, allocations: 23.67 kB / 384.3 MB, free: 18.45 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002312/0.007982, allocations: 22.83 kB / 384.3 MB, free: 18.43 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003307/0.008313, allocations: 253.4 kB / 384.5 MB, free: 18.15 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.944e-05/0.008342, allocations: 75.33 kB / 384.6 MB, free: 18.05 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.371e-05/0.008376, allocations: 17.02 kB / 384.6 MB, free: 18.04 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.204e-05/0.008418, allocations: 78.2 kB / 384.7 MB, free: 17.96 MB / 314.7 MB Notification: Performance of SimCode: time 8.11e-07/0.008419, allocations: 0 / 384.7 MB, free: 17.96 MB / 314.7 MB Notification: Performance of Templates: time 0.002946/0.01137, allocations: 1.571 MB / 386.3 MB, free: 16.4 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test32/Test32.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.2133891391567886]