Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.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.001448/0.001448, allocations: 88.23 kB / 20.2 MB, free: 4.227 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.00153/0.00153, allocations: 157.7 kB / 23.51 MB, free: 0.9219 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 1.546/1.546, allocations: 158.6 MB / 185.3 MB, free: 2.906 MB / 170.7 MB " [Timeout remaining time 178] 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.2428/0.2428, allocations: 32.38 MB / 270 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 179] 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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.424e-06/2.424e-06, allocations: 0 / 347 MB, free: 9.738 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.993e-05/4.235e-05, allocations: 6.25 kB / 347 MB, free: 9.73 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.002944/0.002986, allocations: 1.699 MB / 348.7 MB, free: 8.02 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001205/0.004191, allocations: 0.7765 MB / 349.5 MB, free: 7.234 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.421e-05/0.004266, allocations: 0 / 349.5 MB, free: 7.234 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003835/0.004649, allocations: 119.5 kB / 349.6 MB, free: 7.117 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002476/0.004897, allocations: 87.64 kB / 349.7 MB, free: 7.031 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000234/0.005131, allocations: 83.69 kB / 349.8 MB, free: 6.949 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001888/0.00532, allocations: 131.6 kB / 349.9 MB, free: 6.82 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.00542, allocations: 8 kB / 349.9 MB, free: 6.812 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.857e-05/0.005519, allocations: 71.8 kB / 350 MB, free: 6.742 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001056/0.005624, allocations: 67.84 kB / 350 MB, free: 6.676 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.36e-05/0.005648, allocations: 4 kB / 350 MB, free: 6.672 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.066e-05/0.005739, allocations: 43.94 kB / 350.1 MB, free: 6.629 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.119e-05/0.0058, allocations: 35.84 kB / 350.1 MB, free: 6.594 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.518e-05/0.005855, allocations: 23.92 kB / 350.1 MB, free: 6.57 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000221/0.006076, allocations: 139.5 kB / 350.3 MB, free: 6.434 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.006081, allocations: 0 / 350.3 MB, free: 6.434 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.006083, allocations: 0 / 350.3 MB, free: 6.434 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.006089, allocations: 0 / 350.3 MB, free: 6.434 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006005/0.006689, allocations: 377.3 kB / 350.7 MB, free: 6.035 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.006731, allocations: 8.031 kB / 350.7 MB, free: 6.027 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.127e-05/0.006802, allocations: 20.84 kB / 350.7 MB, free: 6.008 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002825/0.007085, allocations: 173.3 kB / 350.9 MB, free: 5.812 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.197e-05/0.007107, allocations: 4.375 kB / 350.9 MB, free: 5.809 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.517e-05/0.007142, allocations: 8.375 kB / 350.9 MB, free: 5.801 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002041/0.007346, allocations: 62.22 kB / 350.9 MB, free: 5.734 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.779e-05/0.007364, allocations: 7.938 kB / 350.9 MB, free: 5.727 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.712e-05/0.007381, allocations: 7.984 kB / 350.9 MB, free: 5.719 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.657e-06/0.00739, allocations: 0 / 350.9 MB, free: 5.719 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001043/0.007494, allocations: 39.91 kB / 351 MB, free: 5.68 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004159/0.00791, allocations: 252.5 kB / 351.2 MB, free: 5.402 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002498/0.00816, allocations: 86.7 kB / 351.3 MB, free: 5.309 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7e-05/0.00823, allocations: 24.83 kB / 351.3 MB, free: 5.281 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.525e-05/0.008255, allocations: 4 kB / 351.3 MB, free: 5.277 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001998/0.008455, allocations: 79.38 kB / 351.4 MB, free: 5.188 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 1.212e-06/0.008456, allocations: 0 / 351.4 MB, free: 5.188 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.0007673/0.009223, allocations: 241.2 kB / 351.7 MB, free: 4.945 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.578e-05/0.009269, allocations: 51.41 kB / 351.7 MB, free: 4.883 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000227/0.009496, allocations: 254.5 kB / 352 MB, free: 4.621 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.009516, allocations: 29.7 kB / 352 MB, free: 4.586 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.959e-05/0.009586, allocations: 120 kB / 352.1 MB, free: 4.465 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.402e-05/0.00963, allocations: 35.7 kB / 352.1 MB, free: 4.43 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.406e-05/0.009674, allocations: 29.7 kB / 352.2 MB, free: 4.395 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.463e-05/0.009768, allocations: 330.7 kB / 352.5 MB, free: 4.062 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.091e-05/0.009839, allocations: 35.92 kB / 352.5 MB, free: 4.027 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.223e-05/0.009921, allocations: 53.69 kB / 352.6 MB, free: 3.969 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001508/0.01007, allocations: 81.7 kB / 352.7 MB, free: 3.883 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.01007, allocations: 0 / 352.7 MB, free: 3.883 MB / 282.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000211/0.01028, allocations: 145.5 kB / 352.8 MB, free: 3.734 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/0.01031, allocations: 8 kB / 352.8 MB, free: 3.727 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.01032, allocations: 0 / 352.8 MB, free: 3.727 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.086e-05/0.01035, allocations: 0 / 352.8 MB, free: 3.727 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.01047, allocations: 23.98 kB / 352.8 MB, free: 3.703 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.325e-06/0.01048, allocations: 3.938 kB / 352.8 MB, free: 3.699 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.727e-05/0.01052, allocations: 7.938 kB / 352.8 MB, free: 3.691 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.899e-06/0.01053, allocations: 4 kB / 352.8 MB, free: 3.688 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 (13): * Single equations (assignments): 13 * 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 0.0001221/0.01066, allocations: 142.7 kB / 353 MB, free: 3.539 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.675e-05/0.01069, allocations: 27.89 kB / 353 MB, free: 3.512 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003236/0.01102, allocations: 171.5 kB / 353.2 MB, free: 3.336 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.01102, allocations: 0 / 353.2 MB, free: 3.336 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.01102, allocations: 0 / 353.2 MB, free: 3.336 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.01103, allocations: 0 / 353.2 MB, free: 3.336 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004371/0.01147, allocations: 410.8 kB / 353.6 MB, free: 2.895 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.01147, allocations: 0 / 353.6 MB, free: 2.895 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.165e-05/0.01152, allocations: 15.98 kB / 353.6 MB, free: 2.879 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.01152, allocations: 4 kB / 353.6 MB, free: 2.875 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.01153, allocations: 4 kB / 353.6 MB, free: 2.871 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.01154, allocations: 4.031 kB / 353.6 MB, free: 2.867 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.01154, allocations: 8 kB / 353.6 MB, free: 2.859 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002526/0.01179, allocations: 260.1 kB / 353.9 MB, free: 2.586 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.968e-05/0.01181, allocations: 15.89 kB / 353.9 MB, free: 2.57 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.867e-05/0.01184, allocations: 4 kB / 353.9 MB, free: 2.566 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.248e-05/0.01193, allocations: 4 kB / 353.9 MB, free: 2.562 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.602e-05/0.01199, allocations: 15.92 kB / 353.9 MB, free: 2.547 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.749e-05/0.01201, allocations: 4 kB / 353.9 MB, free: 2.543 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001297/0.01214, allocations: 204 kB / 354.1 MB, free: 2.344 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01214, allocations: 0 / 354.1 MB, free: 2.344 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002719/0.01241, allocations: 24 kB / 354.1 MB, free: 2.32 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 (13): * Single equations (assignments): 11 * 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.0022/0.01461, allocations: 0.4933 MB / 354.6 MB, free: 1.934 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002252/0.01483, allocations: 87.83 kB / 354.7 MB, free: 1.848 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.01483, allocations: 4.062 kB / 354.7 MB, free: 1.844 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 9.682e-05/0.01493, allocations: 48.08 kB / 354.8 MB, free: 1.797 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003815/0.01531, allocations: 37.55 kB / 354.8 MB, free: 1.762 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005683/0.01588, allocations: 309.1 kB / 355.1 MB, free: 1.434 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.642e-05/0.01597, allocations: 109.1 kB / 355.2 MB, free: 1.309 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.983e-05/0.01603, allocations: 24.69 kB / 355.2 MB, free: 1.281 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.799e-05/0.01607, allocations: 20.5 kB / 355.2 MB, free: 1.258 MB / 282.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01608, allocations: 0 / 355.2 MB, free: 1.258 MB / 282.7 MB Notification: Performance of Templates: time 0.006065/0.02214, allocations: 2.087 MB / 357.3 MB, free: 15.19 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.068945809034631]