Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.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.001496/0.001496, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.001562/0.001562, allocations: 165 kB / 23.79 MB, free: 0.7773 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.8925/0.8925, allocations: 158.6 MB / 185.7 MB, free: 2.93 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.137/0.137, allocations: 32.38 MB / 270.4 MB, free: 14.7 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.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85") translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 7.938 kB / 347.8 MB, free: 9.371 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.79e-05/2.01e-05, allocations: 8.219 kB / 347.8 MB, free: 9.363 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.001876/0.001896, allocations: 1.691 MB / 349.5 MB, free: 7.66 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008162/0.002712, allocations: 0.7726 MB / 350.2 MB, free: 6.879 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.962e-05/0.002782, allocations: 0 / 350.2 MB, free: 6.879 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002933/0.003075, allocations: 59.67 kB / 350.3 MB, free: 6.82 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002032/0.003278, allocations: 63.73 kB / 350.3 MB, free: 6.758 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001654/0.003444, allocations: 75.72 kB / 350.4 MB, free: 6.684 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001315/0.003575, allocations: 107.6 kB / 350.5 MB, free: 6.578 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.396e-05/0.003609, allocations: 0 / 350.5 MB, free: 6.578 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.746e-05/0.003687, allocations: 63.77 kB / 350.6 MB, free: 6.516 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.13e-05/0.003768, allocations: 31.89 kB / 350.6 MB, free: 6.484 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.738e-05/0.003785, allocations: 4 kB / 350.6 MB, free: 6.48 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.108e-05/0.003856, allocations: 35.92 kB / 350.7 MB, free: 6.445 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.835e-05/0.003905, allocations: 15.92 kB / 350.7 MB, free: 6.43 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.619e-05/0.003941, allocations: 19.92 kB / 350.7 MB, free: 6.41 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001464/0.004087, allocations: 79.69 kB / 350.8 MB, free: 6.332 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.004089, allocations: 0 / 350.8 MB, free: 6.332 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.00409, allocations: 4 kB / 350.8 MB, free: 6.328 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.004094, allocations: 0 / 350.8 MB, free: 6.328 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003445/0.004439, allocations: 424.1 kB / 351.2 MB, free: 5.879 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.004472, allocations: 12.03 kB / 351.2 MB, free: 5.867 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.161e-05/0.004513, allocations: 16.78 kB / 351.2 MB, free: 5.852 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000129/0.004642, allocations: 152.3 kB / 351.4 MB, free: 5.676 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.004658, allocations: 384 / 351.4 MB, free: 5.676 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.122e-05/0.004669, allocations: 384 / 351.4 MB, free: 5.676 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001044/0.004774, allocations: 58.94 kB / 351.4 MB, free: 5.609 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.004782, allocations: 3.938 kB / 351.4 MB, free: 5.605 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.00479, allocations: 11.94 kB / 351.4 MB, free: 5.594 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.004796, allocations: 0 / 351.4 MB, free: 5.594 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.701e-05/0.004823, allocations: 4 kB / 351.4 MB, free: 5.59 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001053/0.004928, allocations: 136.6 kB / 351.6 MB, free: 5.422 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.544e-05/0.005014, allocations: 55.05 kB / 351.6 MB, free: 5.355 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.382e-05/0.005038, allocations: 15.67 kB / 351.6 MB, free: 5.336 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.429e-05/0.005052, allocations: 4 kB / 351.6 MB, free: 5.332 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.861e-05/0.005131, allocations: 65.05 kB / 351.7 MB, free: 5.254 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 7.51e-07/0.005131, allocations: 0 / 351.7 MB, free: 5.254 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001584/0.00529, allocations: 85.52 kB / 351.8 MB, free: 5.164 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.053e-05/0.00531, allocations: 55.39 kB / 351.8 MB, free: 5.098 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.257e-05/0.005393, allocations: 219 kB / 352.1 MB, free: 4.867 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.713e-06/0.0054, allocations: 29.7 kB / 352.1 MB, free: 4.832 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.857e-05/0.005428, allocations: 142.9 kB / 352.2 MB, free: 4.688 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.722e-05/0.005455, allocations: 19.83 kB / 352.3 MB, free: 4.668 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.534e-05/0.005481, allocations: 27.38 kB / 352.3 MB, free: 4.633 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.825e-05/0.005529, allocations: 0.4923 MB / 352.8 MB, free: 4.129 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.756e-05/0.005546, allocations: 4 kB / 352.8 MB, free: 4.125 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.375e-05/0.00557, allocations: 35.34 kB / 352.8 MB, free: 4.082 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.809e-05/0.005608, allocations: 43.56 kB / 352.9 MB, free: 4.031 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.005611, allocations: 0 / 352.9 MB, free: 4.031 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.86e-05/0.005679, allocations: 69.64 kB / 352.9 MB, free: 3.957 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.658e-06/0.005689, allocations: 4 kB / 352.9 MB, free: 3.953 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.005694, allocations: 7.875 kB / 352.9 MB, free: 3.945 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.005707, allocations: 0 / 352.9 MB, free: 3.945 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.824e-05/0.005766, allocations: 19.98 kB / 352.9 MB, free: 3.926 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.00577, allocations: 0 / 352.9 MB, free: 3.926 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.519e-05/0.005795, allocations: 7.953 kB / 353 MB, free: 3.918 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-06/0.0058, allocations: 4.031 kB / 353 MB, free: 3.914 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 (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 4.373e-05/0.005844, allocations: 160.6 kB / 353.1 MB, free: 3.746 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.005e-05/0.005854, allocations: 7.953 kB / 353.1 MB, free: 3.738 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.89e-05/0.005953, allocations: 94 kB / 353.2 MB, free: 3.641 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.005954, allocations: 0 / 353.2 MB, free: 3.641 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.005958, allocations: 0 / 353.2 MB, free: 3.641 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.005961, allocations: 0 / 353.2 MB, free: 3.641 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.323e-05/0.006024, allocations: 136.6 kB / 353.4 MB, free: 3.473 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-07/0.006025, allocations: 3.938 kB / 353.4 MB, free: 3.469 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.385e-05/0.006039, allocations: 4 kB / 353.4 MB, free: 3.465 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.82e-07/0.006039, allocations: 4 kB / 353.4 MB, free: 3.461 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-06/0.006046, allocations: 4 kB / 353.4 MB, free: 3.457 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.006047, allocations: 3.938 kB / 353.4 MB, free: 3.453 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.006048, allocations: 0 / 353.4 MB, free: 3.453 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.024e-05/0.006118, allocations: 116.3 kB / 353.5 MB, free: 3.316 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.002e-05/0.006128, allocations: 7.953 kB / 353.5 MB, free: 3.309 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.423e-05/0.006142, allocations: 4 kB / 353.5 MB, free: 3.305 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.72e-05/0.006159, allocations: 12.06 kB / 353.5 MB, free: 3.293 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.116e-05/0.006191, allocations: 7.984 kB / 353.5 MB, free: 3.285 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.031e-05/0.006201, allocations: 4 kB / 353.5 MB, free: 3.281 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.413e-05/0.006245, allocations: 163.2 kB / 353.7 MB, free: 3.121 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006245, allocations: 0 / 353.7 MB, free: 3.121 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001369/0.006382, allocations: 19.94 kB / 353.7 MB, free: 3.102 MB / 282.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.0006983/0.00708, allocations: 386.8 kB / 354.1 MB, free: 2.812 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.894e-05/0.007169, allocations: 39.66 kB / 354.1 MB, free: 2.77 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.007171, allocations: 0 / 354.1 MB, free: 2.77 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.76e-05/0.007198, allocations: 31.61 kB / 354.1 MB, free: 2.734 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001704/0.007369, allocations: 25.22 kB / 354.2 MB, free: 2.711 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002628/0.007632, allocations: 181.4 kB / 354.3 MB, free: 2.508 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.336e-05/0.007655, allocations: 63.34 kB / 354.4 MB, free: 2.426 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.745e-05/0.007682, allocations: 16.53 kB / 354.4 MB, free: 2.41 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.426e-05/0.007707, allocations: 20.5 kB / 354.4 MB, free: 2.387 MB / 282.7 MB Notification: Performance of SimCode: time 4.31e-07/0.007707, allocations: 0 / 354.4 MB, free: 2.387 MB / 282.7 MB Notification: Performance of Templates: time 0.002775/0.01048, allocations: 1.618 MB / 356.1 MB, free: 0.7891 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.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.1544200950302184]