Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.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.001039/0.001039, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.0009834/0.0009834, allocations: 164 kB / 24.99 MB, free: 8.355 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.9957/0.9957, allocations: 177.1 MB / 205.3 MB, free: 5.637 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.2634/0.2634, allocations: 32.81 MB / 294.6 MB, free: 1.273 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.CombiTimeTable.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30") translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 376.1 MB, free: 4.898 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.399e-05/2.57e-05, allocations: 2.312 kB / 376.1 MB, free: 4.895 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.002499/0.002525, allocations: 1.77 MB / 377.9 MB, free: 3.109 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001294/0.003819, allocations: 1.001 MB / 378.9 MB, free: 2.102 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.181e-05/0.003911, allocations: 0 / 378.9 MB, free: 2.102 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000308/0.004219, allocations: 43.7 kB / 378.9 MB, free: 2.059 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003342/0.004553, allocations: 99.47 kB / 379 MB, free: 1.961 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002167/0.00477, allocations: 75.66 kB / 379.1 MB, free: 1.887 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000187/0.004957, allocations: 107.6 kB / 379.2 MB, free: 1.781 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.005066, allocations: 11.97 kB / 379.2 MB, free: 1.77 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.724e-05/0.005154, allocations: 47.84 kB / 379.2 MB, free: 1.723 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.536e-05/0.005229, allocations: 27.91 kB / 379.3 MB, free: 1.695 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.719e-05/0.005246, allocations: 8 kB / 379.3 MB, free: 1.688 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.189e-05/0.005338, allocations: 47.86 kB / 379.3 MB, free: 1.641 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.663e-05/0.005395, allocations: 23.92 kB / 379.3 MB, free: 1.617 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.239e-05/0.005437, allocations: 27.84 kB / 379.4 MB, free: 1.59 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001786/0.005616, allocations: 95.66 kB / 379.5 MB, free: 1.496 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.005619, allocations: 0 / 379.5 MB, free: 1.496 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.00562, allocations: 0 / 379.5 MB, free: 1.496 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.141e-06/0.005626, allocations: 0 / 379.5 MB, free: 1.496 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004756/0.006102, allocations: 447.9 kB / 379.9 MB, free: 1.023 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.006139, allocations: 12.03 kB / 379.9 MB, free: 1.012 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.217e-05/0.006191, allocations: 16.84 kB / 379.9 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001863/0.006377, allocations: 153.1 kB / 380.1 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.993e-05/0.006397, allocations: 4.375 kB / 380.1 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.985e-05/0.006417, allocations: 4.375 kB / 380.1 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001359/0.006553, allocations: 62.94 kB / 380.1 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.006563, allocations: 7.875 kB / 380.2 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-06/0.006573, allocations: 0 / 380.2 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.006581, allocations: 4 kB / 380.2 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.689e-05/0.006618, allocations: 11.97 kB / 380.2 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003279/0.006946, allocations: 295.7 kB / 380.5 MB, free: 404 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001152/0.007061, allocations: 51.17 kB / 380.5 MB, free: 340 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.373e-05/0.007095, allocations: 27.61 kB / 380.5 MB, free: 308 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.223e-05/0.007107, allocations: 0 / 380.5 MB, free: 308 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001083/0.007215, allocations: 68.98 kB / 380.6 MB, free: 224 kB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.007217, allocations: 4 kB / 380.6 MB, free: 220 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003962/0.007613, allocations: 149.4 kB / 380.8 MB, free: 64 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.564e-05/0.007659, allocations: 55.45 kB / 380.8 MB, free: 15.99 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000139/0.007797, allocations: 238.3 kB / 381 MB, free: 15.75 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/0.007811, allocations: 25.7 kB / 381.1 MB, free: 15.71 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.848e-05/0.00787, allocations: 158.9 kB / 381.2 MB, free: 15.55 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.553e-05/0.007895, allocations: 23.8 kB / 381.2 MB, free: 15.53 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.655e-05/0.007932, allocations: 27.36 kB / 381.3 MB, free: 15.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.008044, allocations: 0.4962 MB / 381.8 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.875e-05/0.008073, allocations: 12 kB / 381.8 MB, free: 14.98 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.68e-05/0.00811, allocations: 31.36 kB / 381.8 MB, free: 14.94 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.027e-05/0.00817, allocations: 59.23 kB / 381.9 MB, free: 14.87 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.008171, allocations: 0 / 381.9 MB, free: 14.87 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001157/0.008287, allocations: 97.61 kB / 382 MB, free: 14.77 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.0083, allocations: 4 kB / 382 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.008305, allocations: 0 / 382 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.008317, allocations: 0 / 382 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.874e-05/0.008395, allocations: 23.92 kB / 382 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.008401, allocations: 0 / 382 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.883e-05/0.00843, allocations: 0 / 382 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.008436, allocations: 4 kB / 382 MB, free: 14.74 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 7.827e-05/0.008514, allocations: 164.5 kB / 382.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.783e-05/0.008532, allocations: 11.95 kB / 382.2 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001542/0.008686, allocations: 111.2 kB / 382.3 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.008688, allocations: 4 kB / 382.3 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.008691, allocations: 0 / 382.3 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.008695, allocations: 0 / 382.3 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003142/0.009009, allocations: 404.9 kB / 382.7 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.009012, allocations: 0 / 382.7 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.065e-05/0.009042, allocations: 8 kB / 382.7 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.009046, allocations: 4 kB / 382.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-06/0.009055, allocations: 0 / 382.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.009056, allocations: 0 / 382.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.009059, allocations: 7.938 kB / 382.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001507/0.009209, allocations: 259.5 kB / 382.9 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.63e-05/0.009226, allocations: 19.89 kB / 383 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.906e-05/0.009245, allocations: 0 / 383 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.72e-05/0.009292, allocations: 4 kB / 383 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.927e-05/0.009331, allocations: 3.984 kB / 383 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.465e-05/0.009346, allocations: 8.375 kB / 383 MB, free: 13.66 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.086e-05/0.009437, allocations: 172.1 kB / 383.1 MB, free: 13.5 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009437, allocations: 0 / 383.1 MB, free: 13.5 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001808/0.009617, allocations: 27.92 kB / 383.2 MB, free: 13.47 MB / 362.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000997/0.01061, allocations: 445.4 kB / 383.6 MB, free: 13.2 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001579/0.01077, allocations: 51.61 kB / 383.7 MB, free: 13.14 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.01078, allocations: 0 / 383.7 MB, free: 13.14 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.109e-05/0.01083, allocations: 31.61 kB / 383.7 MB, free: 13.11 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002547/0.01108, allocations: 27.97 kB / 383.7 MB, free: 13.08 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003652/0.01145, allocations: 218 kB / 383.9 MB, free: 12.83 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.418e-05/0.01149, allocations: 71.45 kB / 384 MB, free: 12.74 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.007e-05/0.01153, allocations: 21.27 kB / 384 MB, free: 12.72 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.672e-05/0.01157, allocations: 20.48 kB / 384 MB, free: 12.7 MB / 362.7 MB Notification: Performance of SimCode: time 1.342e-06/0.01157, allocations: 0 / 384 MB, free: 12.7 MB / 362.7 MB Notification: Performance of Templates: time 0.004149/0.01572, allocations: 1.873 MB / 385.9 MB, free: 10.86 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.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.213573679095134]