Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.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.001479/0.001479, 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.001092/0.001092, allocations: 161.3 kB / 24.99 MB, free: 9.273 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.067/1.067, allocations: 177.1 MB / 205.3 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3309/0.3309, allocations: 34.26 MB / 296 MB, free: 0.7578 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 378.1 MB, free: 2.887 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.267e-05/2.448e-05, allocations: 2.312 kB / 378.1 MB, free: 2.883 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.002272/0.002296, allocations: 1.715 MB / 379.8 MB, free: 1.156 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00123/0.003526, allocations: 0.9897 MB / 380.8 MB, free: 164 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.499e-05/0.003611, allocations: 0 / 380.8 MB, free: 164 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003275/0.003938, allocations: 71.61 kB / 380.9 MB, free: 92 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003126/0.004251, allocations: 111.6 kB / 381 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001789/0.00443, allocations: 75.55 kB / 381.1 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001707/0.004601, allocations: 107.6 kB / 381.2 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.029e-05/0.004641, allocations: 4.234 kB / 381.2 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.184e-05/0.004733, allocations: 63.81 kB / 381.2 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.068e-05/0.004823, allocations: 39.89 kB / 381.3 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.627e-05/0.00484, allocations: 7.938 kB / 381.3 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.851e-05/0.004908, allocations: 31.92 kB / 381.3 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.761e-05/0.004956, allocations: 19.92 kB / 381.3 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.877e-05/0.004995, allocations: 19.92 kB / 381.4 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001531/0.005148, allocations: 83.73 kB / 381.4 MB, free: 15.54 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.235e-06/0.00515, allocations: 4 kB / 381.4 MB, free: 15.53 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.005151, allocations: 0 / 381.4 MB, free: 15.53 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.005154, allocations: 0 / 381.4 MB, free: 15.53 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004529/0.005607, allocations: 447.9 kB / 381.9 MB, free: 15.06 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/0.005641, allocations: 11.97 kB / 381.9 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.699e-05/0.005688, allocations: 12.84 kB / 381.9 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001632/0.005851, allocations: 153.1 kB / 382 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.00587, allocations: 4.375 kB / 382.1 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.338e-06/0.005879, allocations: 384 / 382.1 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001146/0.005993, allocations: 58.94 kB / 382.1 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.006001, allocations: 7.938 kB / 382.1 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.00601, allocations: 0 / 382.1 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.006018, allocations: 4 kB / 382.1 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.171e-05/0.00605, allocations: 11.92 kB / 382.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001428/0.006192, allocations: 140.7 kB / 382.3 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.608e-05/0.006288, allocations: 43.11 kB / 382.3 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.786e-05/0.006316, allocations: 15.69 kB / 382.3 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.141e-05/0.006328, allocations: 0 / 382.3 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001004/0.006428, allocations: 73.05 kB / 382.4 MB, free: 14.43 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 9.22e-07/0.006429, allocations: 0 / 382.4 MB, free: 14.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001851/0.006614, allocations: 97.45 kB / 382.5 MB, free: 14.33 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.045e-05/0.006645, allocations: 51.41 kB / 382.5 MB, free: 14.27 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001311/0.006776, allocations: 230.4 kB / 382.8 MB, free: 14.03 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.006789, allocations: 29.7 kB / 382.8 MB, free: 13.99 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.13e-05/0.00684, allocations: 150.9 kB / 382.9 MB, free: 13.84 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.772e-05/0.006868, allocations: 15.84 kB / 383 MB, free: 13.82 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.055e-05/0.006898, allocations: 27.38 kB / 383 MB, free: 13.79 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.007015, allocations: 0.4923 MB / 383.5 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.013e-05/0.007035, allocations: 11.98 kB / 383.5 MB, free: 13.27 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.602e-05/0.007061, allocations: 27.38 kB / 383.5 MB, free: 13.24 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.004e-05/0.007111, allocations: 43.3 kB / 383.6 MB, free: 13.19 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.007113, allocations: 0 / 383.6 MB, free: 13.19 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.508e-05/0.007198, allocations: 73.58 kB / 383.6 MB, free: 13.11 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.007211, allocations: 4 kB / 383.6 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.007216, allocations: 3.938 kB / 383.6 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.007231, allocations: 4 kB / 383.6 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.784e-05/0.007289, allocations: 8 kB / 383.7 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.007294, allocations: 4.031 kB / 383.7 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.093e-05/0.007325, allocations: 11.94 kB / 383.7 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.669e-06/0.00733, allocations: 3.938 kB / 383.7 MB, free: 13.07 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 (7): * Single equations (assignments): 7 * 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.956e-05/0.007409, allocations: 160.6 kB / 383.8 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.452e-05/0.007424, allocations: 11.95 kB / 383.8 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001214/0.007545, allocations: 86.86 kB / 383.9 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.007547, allocations: 0 / 383.9 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.007551, allocations: 0 / 383.9 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.007555, allocations: 4 kB / 383.9 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.148e-05/0.007647, allocations: 144.6 kB / 384.1 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.007648, allocations: 4.375 kB / 384.1 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.83e-05/0.007666, allocations: 7.984 kB / 384.1 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.007671, allocations: 7.984 kB / 384.1 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.532e-06/0.007678, allocations: 0 / 384.1 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.007679, allocations: 3.938 kB / 384.1 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.007681, allocations: 3.984 kB / 384.1 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.478e-05/0.007776, allocations: 124.3 kB / 384.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.282e-05/0.007789, allocations: 7.953 kB / 384.2 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.474e-05/0.007803, allocations: 0 / 384.2 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.232e-05/0.007826, allocations: 11.94 kB / 384.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.987e-05/0.007856, allocations: 3.984 kB / 384.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/0.007866, allocations: 8 kB / 384.3 MB, free: 12.42 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.565e-05/0.007942, allocations: 164.2 kB / 384.4 MB, free: 12.26 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007942, allocations: 0 / 384.4 MB, free: 12.26 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001478/0.00809, allocations: 27.92 kB / 384.4 MB, free: 12.23 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: 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 (6): * Single equations (assignments): 4 * 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.0008048/0.008894, allocations: 367.2 kB / 384.8 MB, free: 12 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.922e-05/0.008994, allocations: 43.61 kB / 384.8 MB, free: 11.96 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.008995, allocations: 0 / 384.8 MB, free: 11.96 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.532e-05/0.00903, allocations: 19.69 kB / 384.9 MB, free: 11.93 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001856/0.009216, allocations: 32.53 kB / 384.9 MB, free: 11.9 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000326/0.009542, allocations: 198.1 kB / 385.1 MB, free: 11.68 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.632e-05/0.009578, allocations: 63.34 kB / 385.1 MB, free: 11.6 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.093e-05/0.009609, allocations: 20.48 kB / 385.2 MB, free: 11.58 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.719e-05/0.009636, allocations: 16.5 kB / 385.2 MB, free: 11.56 MB / 362.7 MB Notification: Performance of SimCode: time 4.41e-07/0.009637, allocations: 0 / 385.2 MB, free: 11.56 MB / 362.7 MB Notification: Performance of Templates: time 0.003234/0.01287, allocations: 1.646 MB / 386.8 MB, free: 9.945 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.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.3476736519951373]