Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.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.0009617/0.0009617, allocations: 81.95 kB / 21.44 MB, free: 3.051 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.001008/0.001008, allocations: 166.9 kB / 24.84 MB, free: 9.262 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9798/0.9798, allocations: 158.6 MB / 186.7 MB, free: 2.793 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1373/0.1373, allocations: 32.38 MB / 271.5 MB, free: 14.53 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 349 MB, free: 9.113 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.406e-05/2.56e-05, allocations: 2.312 kB / 349 MB, free: 9.109 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.001978/0.002004, allocations: 1.733 MB / 350.7 MB, free: 7.367 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007821/0.002786, allocations: 0.7842 MB / 351.5 MB, free: 6.574 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.831e-05/0.002844, allocations: 0 / 351.5 MB, free: 6.574 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002373/0.003081, allocations: 55.75 kB / 351.6 MB, free: 6.52 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001559/0.003237, allocations: 63.69 kB / 351.6 MB, free: 6.457 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001627/0.0034, allocations: 83.69 kB / 351.7 MB, free: 6.375 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001193/0.003519, allocations: 99.64 kB / 351.8 MB, free: 6.277 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.291e-05/0.003592, allocations: 4.234 kB / 351.8 MB, free: 6.273 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.321e-05/0.003655, allocations: 55.81 kB / 351.9 MB, free: 6.219 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.723e-05/0.003713, allocations: 23.92 kB / 351.9 MB, free: 6.195 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.628e-05/0.003729, allocations: 8 kB / 351.9 MB, free: 6.188 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.978e-05/0.003789, allocations: 47.91 kB / 351.9 MB, free: 6.141 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.282e-05/0.003831, allocations: 35.86 kB / 352 MB, free: 6.105 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.012e-05/0.003862, allocations: 15.94 kB / 352 MB, free: 6.09 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000133/0.003995, allocations: 119.4 kB / 352.1 MB, free: 5.973 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.003996, allocations: 0 / 352.1 MB, free: 5.973 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.003997, allocations: 0 / 352.1 MB, free: 5.973 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.004001, allocations: 0 / 352.1 MB, free: 5.973 MB / 282.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.0003015/0.004303, allocations: 471.7 kB / 352.6 MB, free: 5.477 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.702e-05/0.00433, allocations: 8.031 kB / 352.6 MB, free: 5.469 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.068e-05/0.00436, allocations: 20.84 kB / 352.6 MB, free: 5.449 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001024/0.004463, allocations: 156.4 kB / 352.7 MB, free: 5.27 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.004475, allocations: 384 / 352.7 MB, free: 5.27 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.329e-05/0.004488, allocations: 4.375 kB / 352.7 MB, free: 5.266 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.526e-05/0.004563, allocations: 62.88 kB / 352.8 MB, free: 5.195 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.004571, allocations: 3.938 kB / 352.8 MB, free: 5.191 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.931e-06/0.004577, allocations: 7.922 kB / 352.8 MB, free: 5.184 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.004583, allocations: 4 kB / 352.8 MB, free: 5.18 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.084e-05/0.004603, allocations: 4 kB / 352.8 MB, free: 5.176 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001704/0.004774, allocations: 272.4 kB / 353.1 MB, free: 4.883 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.952e-05/0.004843, allocations: 59.09 kB / 353.2 MB, free: 4.812 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.705e-05/0.00486, allocations: 15.69 kB / 353.2 MB, free: 4.793 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.217e-06/0.00487, allocations: 0 / 353.2 MB, free: 4.793 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.137e-05/0.004931, allocations: 68.98 kB / 353.2 MB, free: 4.711 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 6.51e-07/0.004932, allocations: 0 / 353.2 MB, free: 4.711 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002512/0.005183, allocations: 141.4 kB / 353.4 MB, free: 4.566 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.67e-05/0.005199, allocations: 55.41 kB / 353.4 MB, free: 4.5 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.819e-05/0.005288, allocations: 261.3 kB / 353.7 MB, free: 4.227 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.853e-06/0.005294, allocations: 29.7 kB / 353.7 MB, free: 4.191 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.522e-05/0.00533, allocations: 174.8 kB / 353.9 MB, free: 4.016 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.974e-05/0.005349, allocations: 23.73 kB / 353.9 MB, free: 3.992 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.298e-05/0.005372, allocations: 31.36 kB / 353.9 MB, free: 3.953 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.879e-05/0.005421, allocations: 0.504 MB / 354.4 MB, free: 3.438 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.279e-05/0.005434, allocations: 8 kB / 354.4 MB, free: 3.43 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.071e-05/0.005455, allocations: 35.28 kB / 354.5 MB, free: 3.387 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.269e-05/0.005487, allocations: 43.36 kB / 354.5 MB, free: 3.336 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.005488, allocations: 0 / 354.5 MB, free: 3.336 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.476e-05/0.005563, allocations: 101.5 kB / 354.6 MB, free: 3.23 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.025e-05/0.005573, allocations: 8 kB / 354.6 MB, free: 3.223 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.005577, allocations: 0 / 354.6 MB, free: 3.223 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.452e-06/0.005583, allocations: 0 / 354.6 MB, free: 3.223 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.974e-05/0.005633, allocations: 15.98 kB / 354.6 MB, free: 3.207 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.665e-06/0.005635, allocations: 4 kB / 354.7 MB, free: 3.203 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.336e-05/0.005659, allocations: 0 / 354.7 MB, free: 3.203 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.371e-06/0.005664, allocations: 8 kB / 354.7 MB, free: 3.195 MB / 282.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 4.581e-05/0.00571, allocations: 162.8 kB / 354.8 MB, free: 3.027 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.409e-05/0.005724, allocations: 19.84 kB / 354.8 MB, free: 3.008 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001021/0.005826, allocations: 107.1 kB / 354.9 MB, free: 2.895 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.005828, allocations: 0 / 354.9 MB, free: 2.895 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.00583, allocations: 0 / 354.9 MB, free: 2.895 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.758e-06/0.005833, allocations: 3.984 kB / 354.9 MB, free: 2.891 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001758/0.006009, allocations: 365.6 kB / 355.3 MB, free: 2.496 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.00601, allocations: 3.938 kB / 355.3 MB, free: 2.492 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.894e-05/0.006029, allocations: 8.375 kB / 355.3 MB, free: 2.484 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/0.006032, allocations: 3.984 kB / 355.3 MB, free: 2.48 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.545e-06/0.006039, allocations: 12 kB / 355.3 MB, free: 2.469 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.00604, allocations: 0 / 355.3 MB, free: 2.469 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.006041, allocations: 4.031 kB / 355.3 MB, free: 2.465 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.192e-05/0.006133, allocations: 255.4 kB / 355.6 MB, free: 2.191 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.025e-05/0.006143, allocations: 11.91 kB / 355.6 MB, free: 2.18 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.374e-05/0.006157, allocations: 4 kB / 355.6 MB, free: 2.176 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.559e-05/0.006193, allocations: 4 kB / 355.6 MB, free: 2.172 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.903e-05/0.006212, allocations: 7.984 kB / 355.6 MB, free: 2.164 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.288e-06/0.006221, allocations: 4 kB / 355.6 MB, free: 2.16 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.352e-05/0.006264, allocations: 180.4 kB / 355.8 MB, free: 1.984 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006264, allocations: 0 / 355.8 MB, free: 1.984 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001577/0.006422, allocations: 31.92 kB / 355.8 MB, free: 1.953 MB / 282.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.0007603/0.007182, allocations: 437.3 kB / 356.3 MB, free: 1.617 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.967e-05/0.007262, allocations: 55.52 kB / 356.3 MB, free: 1.559 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.002e-06/0.007263, allocations: 0 / 356.3 MB, free: 1.559 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.57e-05/0.007289, allocations: 23.67 kB / 356.3 MB, free: 1.531 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000198/0.007487, allocations: 39.77 kB / 356.4 MB, free: 1.492 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002475/0.007734, allocations: 257.6 kB / 356.6 MB, free: 1.211 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.718e-05/0.007761, allocations: 76.39 kB / 356.7 MB, free: 1.117 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.825e-05/0.00779, allocations: 20.48 kB / 356.7 MB, free: 1.098 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.759e-05/0.007837, allocations: 86.19 kB / 356.8 MB, free: 1.012 MB / 282.7 MB Notification: Performance of SimCode: time 5.01e-07/0.007838, allocations: 0 / 356.8 MB, free: 1.012 MB / 282.7 MB Notification: Performance of Templates: time 0.003282/0.01112, allocations: 2.052 MB / 358.8 MB, free: 14.98 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.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.195834887214005]