Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.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.0009874/0.0009874, allocations: 91.31 kB / 20.42 MB, free: 4.137 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.001908/0.001908, allocations: 169 kB / 23.8 MB, free: 0.7656 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.9711/0.9711, allocations: 158.6 MB / 185.7 MB, free: 2.488 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.1776/0.1776, allocations: 32.37 MB / 270.4 MB, free: 14.67 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.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.903e-06/1.903e-06, allocations: 0 / 347.7 MB, free: 9.359 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.629e-05/2.819e-05, allocations: 10.19 kB / 347.8 MB, free: 9.348 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.002385/0.002413, allocations: 1.734 MB / 349.5 MB, free: 7.602 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009709/0.003384, allocations: 0.7959 MB / 350.3 MB, free: 6.797 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.671e-05/0.00347, allocations: 0 / 350.3 MB, free: 6.797 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003457/0.003816, allocations: 83.7 kB / 350.4 MB, free: 6.715 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000262/0.004078, allocations: 87.58 kB / 350.5 MB, free: 6.629 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002267/0.004305, allocations: 87.69 kB / 350.5 MB, free: 6.543 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001418/0.004447, allocations: 111.7 kB / 350.7 MB, free: 6.434 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.551e-05/0.004522, allocations: 8.234 kB / 350.7 MB, free: 6.426 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.492e-05/0.004597, allocations: 67.73 kB / 350.7 MB, free: 6.359 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.373e-05/0.004681, allocations: 59.86 kB / 350.8 MB, free: 6.301 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.474e-05/0.004695, allocations: 4 kB / 350.8 MB, free: 6.297 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.711e-05/0.004783, allocations: 39.94 kB / 350.8 MB, free: 6.258 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.622e-05/0.004829, allocations: 31.84 kB / 350.9 MB, free: 6.227 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.526e-05/0.004864, allocations: 23.92 kB / 350.9 MB, free: 6.203 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001542/0.005018, allocations: 99.59 kB / 351 MB, free: 6.105 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.005021, allocations: 4 kB / 351 MB, free: 6.102 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.91e-07/0.005022, allocations: 0 / 351 MB, free: 6.102 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.005027, allocations: 0 / 351 MB, free: 6.102 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.0003615/0.005388, allocations: 459.8 kB / 351.4 MB, free: 5.617 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.005425, allocations: 8.031 kB / 351.4 MB, free: 5.609 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.377e-05/0.005469, allocations: 16.84 kB / 351.5 MB, free: 5.594 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001261/0.005595, allocations: 148.4 kB / 351.6 MB, free: 5.422 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.005612, allocations: 4.375 kB / 351.6 MB, free: 5.418 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.669e-05/0.005629, allocations: 4.375 kB / 351.6 MB, free: 5.414 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001163/0.005745, allocations: 66.88 kB / 351.7 MB, free: 5.34 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.005754, allocations: 7.938 kB / 351.7 MB, free: 5.332 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.295e-06/0.005762, allocations: 3.984 kB / 351.7 MB, free: 5.328 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.992e-06/0.005768, allocations: 0 / 351.7 MB, free: 5.328 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.003e-05/0.005798, allocations: 8 kB / 351.7 MB, free: 5.32 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002499/0.006048, allocations: 291.7 kB / 352 MB, free: 5 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.391e-05/0.006142, allocations: 63.09 kB / 352 MB, free: 4.926 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.493e-05/0.006167, allocations: 15.62 kB / 352.1 MB, free: 4.906 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.729e-06/0.006177, allocations: 4 kB / 352.1 MB, free: 4.902 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.262e-05/0.006259, allocations: 65.05 kB / 352.1 MB, free: 4.824 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.342e-06/0.006261, allocations: 4 kB / 352.1 MB, free: 4.82 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003593/0.00662, allocations: 157.4 kB / 352.3 MB, free: 4.66 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.606e-05/0.006646, allocations: 55.39 kB / 352.3 MB, free: 4.594 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/0.006768, allocations: 241.9 kB / 352.6 MB, free: 4.34 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.006784, allocations: 33.7 kB / 352.6 MB, free: 4.301 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.257e-05/0.006827, allocations: 146.9 kB / 352.7 MB, free: 4.152 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.084e-05/0.006858, allocations: 35.77 kB / 352.8 MB, free: 4.117 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.442e-05/0.006902, allocations: 27.38 kB / 352.8 MB, free: 4.082 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.456e-05/0.006957, allocations: 0.5001 MB / 353.3 MB, free: 3.57 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.325e-05/0.00699, allocations: 16 kB / 353.3 MB, free: 3.555 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.972e-05/0.00703, allocations: 39.67 kB / 353.4 MB, free: 3.508 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.442e-05/0.007094, allocations: 51.31 kB / 353.4 MB, free: 3.449 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.007095, allocations: 0 / 353.4 MB, free: 3.449 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001349/0.00723, allocations: 97.52 kB / 353.5 MB, free: 3.348 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.007242, allocations: 4 kB / 353.5 MB, free: 3.344 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.007247, allocations: 0 / 353.5 MB, free: 3.344 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.00726, allocations: 4 kB / 353.5 MB, free: 3.34 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.029e-05/0.00734, allocations: 15.94 kB / 353.5 MB, free: 3.324 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.007346, allocations: 3.984 kB / 353.5 MB, free: 3.32 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.726e-05/0.007383, allocations: 12.03 kB / 353.5 MB, free: 3.309 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-06/0.007389, allocations: 0 / 353.5 MB, free: 3.309 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 5.919e-05/0.007449, allocations: 170.7 kB / 353.7 MB, free: 3.133 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.01e-05/0.007469, allocations: 15.91 kB / 353.7 MB, free: 3.117 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000172/0.007641, allocations: 111.2 kB / 353.8 MB, free: 3 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.007645, allocations: 0 / 353.8 MB, free: 3 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.007651, allocations: 0 / 353.8 MB, free: 3 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.007656, allocations: 3.984 kB / 353.8 MB, free: 2.996 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002819/0.007937, allocations: 397 kB / 354.2 MB, free: 2.562 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.00794, allocations: 8.016 kB / 354.2 MB, free: 2.555 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.442e-05/0.007975, allocations: 8 kB / 354.2 MB, free: 2.547 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.007979, allocations: 4 kB / 354.2 MB, free: 2.543 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.007987, allocations: 0 / 354.2 MB, free: 2.543 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.007989, allocations: 0 / 354.2 MB, free: 2.543 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.00799, allocations: 0 / 354.2 MB, free: 2.543 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001348/0.008125, allocations: 263.4 kB / 354.5 MB, free: 2.262 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.378e-05/0.008139, allocations: 15.91 kB / 354.5 MB, free: 2.246 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.933e-05/0.008158, allocations: 3.984 kB / 354.5 MB, free: 2.242 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.119e-05/0.008219, allocations: 4 kB / 354.5 MB, free: 2.238 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.92e-05/0.008249, allocations: 7.984 kB / 354.5 MB, free: 2.23 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.435e-05/0.008263, allocations: 8 kB / 354.5 MB, free: 2.223 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.107e-05/0.008334, allocations: 179.1 kB / 354.7 MB, free: 2.047 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.008334, allocations: 0 / 354.7 MB, free: 2.047 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002619/0.008596, allocations: 27.92 kB / 354.7 MB, free: 2.02 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.001047/0.009643, allocations: 442 kB / 355.2 MB, free: 1.684 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001382/0.009781, allocations: 55.59 kB / 355.2 MB, free: 1.625 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.634e-06/0.009782, allocations: 0 / 355.2 MB, free: 1.625 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.309e-05/0.009826, allocations: 43.61 kB / 355.3 MB, free: 1.578 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003077/0.01013, allocations: 27.97 kB / 355.3 MB, free: 1.551 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003606/0.01049, allocations: 229.5 kB / 355.5 MB, free: 1.297 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.638e-05/0.01053, allocations: 83.2 kB / 355.6 MB, free: 1.195 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.959e-05/0.01057, allocations: 16.78 kB / 355.6 MB, free: 1.18 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.264e-05/0.0106, allocations: 16.5 kB / 355.6 MB, free: 1.16 MB / 282.7 MB Notification: Performance of SimCode: time 7.32e-07/0.0106, allocations: 0 / 355.6 MB, free: 1.16 MB / 282.7 MB Notification: Performance of Templates: time 0.004442/0.01505, allocations: 1.986 MB / 357.6 MB, free: 15.19 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.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.2357135829515755]