Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.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.001431/0.001431, allocations: 91.22 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.001067/0.001067, allocations: 169 kB / 23.8 MB, free: 0.7734 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.028/1.028, allocations: 158.6 MB / 185.7 MB, free: 2.914 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.1565/0.1565, allocations: 32.37 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.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 347.7 MB, free: 9.375 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.679e-05/2.839e-05, allocations: 12.16 kB / 347.8 MB, free: 9.363 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.002141/0.002169, allocations: 1.866 MB / 349.6 MB, free: 7.484 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001239/0.003408, allocations: 0.8972 MB / 350.5 MB, free: 6.578 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001017/0.003509, allocations: 0 / 350.5 MB, free: 6.578 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000533/0.004042, allocations: 227.2 kB / 350.7 MB, free: 6.355 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003651/0.004407, allocations: 167.4 kB / 350.9 MB, free: 6.191 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003507/0.004758, allocations: 151.5 kB / 351.1 MB, free: 6.043 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002864/0.005045, allocations: 231.3 kB / 351.3 MB, free: 5.816 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.005163, allocations: 21.78 kB / 351.3 MB, free: 5.797 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001673/0.00533, allocations: 127.7 kB / 351.4 MB, free: 5.672 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001829/0.005513, allocations: 147.7 kB / 351.6 MB, free: 5.527 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.552e-05/0.005539, allocations: 11.94 kB / 351.6 MB, free: 5.516 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001066/0.005645, allocations: 51.84 kB / 351.6 MB, free: 5.465 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.021e-05/0.005715, allocations: 59.77 kB / 351.7 MB, free: 5.406 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.613e-05/0.005772, allocations: 39.8 kB / 351.7 MB, free: 5.367 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002361/0.006008, allocations: 163.4 kB / 351.9 MB, free: 5.207 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.006011, allocations: 0 / 351.9 MB, free: 5.207 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.006012, allocations: 3.938 kB / 351.9 MB, free: 5.203 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.109e-06/0.006017, allocations: 3.938 kB / 351.9 MB, free: 5.199 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005577/0.006574, allocations: 0.5809 MB / 352.5 MB, free: 4.582 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.006614, allocations: 12.03 kB / 352.5 MB, free: 4.57 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.907e-05/0.006683, allocations: 32.75 kB / 352.5 MB, free: 4.539 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002214/0.006905, allocations: 208.7 kB / 352.7 MB, free: 4.309 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.132e-05/0.006926, allocations: 4.375 kB / 352.7 MB, free: 4.305 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.565e-05/0.006952, allocations: 12.31 kB / 352.7 MB, free: 4.293 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000188/0.00714, allocations: 106.3 kB / 352.8 MB, free: 4.172 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.007152, allocations: 3.938 kB / 352.8 MB, free: 4.168 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.777e-05/0.00717, allocations: 0 / 352.8 MB, free: 4.168 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.007178, allocations: 4 kB / 352.9 MB, free: 4.164 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.758e-05/0.007235, allocations: 23.98 kB / 352.9 MB, free: 4.141 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003935/0.007629, allocations: 0.4907 MB / 353.4 MB, free: 3.609 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001682/0.007797, allocations: 118.2 kB / 353.5 MB, free: 3.469 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.973e-05/0.007847, allocations: 35.36 kB / 353.5 MB, free: 3.426 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.374e-05/0.007861, allocations: 0 / 353.5 MB, free: 3.426 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001453/0.008006, allocations: 112.3 kB / 353.6 MB, free: 3.293 MB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 1.473e-06/0.008007, allocations: 4 kB / 353.6 MB, free: 3.289 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006217/0.008629, allocations: 337.1 kB / 354 MB, free: 2.953 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.907e-05/0.008658, allocations: 85.05 kB / 354 MB, free: 2.852 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002421/0.0089, allocations: 382.3 kB / 354.4 MB, free: 2.461 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.00892, allocations: 33.7 kB / 354.4 MB, free: 2.422 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.134e-05/0.009001, allocations: 203.1 kB / 354.6 MB, free: 2.219 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.162e-05/0.009043, allocations: 51.62 kB / 354.7 MB, free: 2.168 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.77e-05/0.00909, allocations: 43.36 kB / 354.7 MB, free: 2.117 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.307e-05/0.009163, allocations: 0.5235 MB / 355.3 MB, free: 1.582 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.322e-05/0.009217, allocations: 23.98 kB / 355.3 MB, free: 1.559 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.461e-05/0.009291, allocations: 73.78 kB / 355.4 MB, free: 1.473 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001129/0.009404, allocations: 102.8 kB / 355.5 MB, free: 1.355 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.009406, allocations: 0 / 355.5 MB, free: 1.355 MB / 282.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002061/0.009612, allocations: 161.4 kB / 355.6 MB, free: 1.191 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.009626, allocations: 4 kB / 355.6 MB, free: 1.188 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.009632, allocations: 4 kB / 355.6 MB, free: 1.184 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.009647, allocations: 0 / 355.6 MB, free: 1.184 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.009771, allocations: 39.98 kB / 355.7 MB, free: 1.145 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.054e-06/0.009778, allocations: 0 / 355.7 MB, free: 1.145 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.919e-05/0.009837, allocations: 4 kB / 355.7 MB, free: 1.141 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/0.009849, allocations: 8 kB / 355.7 MB, free: 1.133 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.476e-05/0.009923, allocations: 176.4 kB / 355.8 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.614e-05/0.009959, allocations: 35.81 kB / 355.9 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002614/0.01022, allocations: 184.2 kB / 356.1 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.01022, allocations: 3.938 kB / 356.1 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.01023, allocations: 4 kB / 356.1 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.187e-06/0.01023, allocations: 4 kB / 356.1 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004493/0.01068, allocations: 0.6639 MB / 356.7 MB, free: 0 / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/0.01068, allocations: 0 / 356.7 MB, free: 0 / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.284e-05/0.01077, allocations: 16.05 kB / 356.8 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.269e-06/0.01077, allocations: 4 kB / 356.8 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.517e-05/0.01079, allocations: 11.94 kB / 356.8 MB, free: 15.97 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.01079, allocations: 0 / 356.8 MB, free: 15.97 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.01079, allocations: 3.938 kB / 356.8 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000336/0.01113, allocations: 470.2 kB / 357.2 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.873e-05/0.01116, allocations: 27.88 kB / 357.3 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.304e-05/0.01119, allocations: 8 kB / 357.3 MB, free: 15.44 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001141/0.01131, allocations: 4 kB / 357.3 MB, free: 15.44 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.02e-05/0.01136, allocations: 19.91 kB / 357.3 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-05/0.01138, allocations: 8 kB / 357.3 MB, free: 15.41 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001942/0.01157, allocations: 267 kB / 357.6 MB, free: 15.15 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01157, allocations: 0 / 357.6 MB, free: 15.15 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003225/0.01189, allocations: 39.98 kB / 357.6 MB, free: 15.11 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002393/0.01429, allocations: 447.1 kB / 358 MB, free: 14.77 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002416/0.01453, allocations: 95.02 kB / 358.1 MB, free: 14.67 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.01453, allocations: 0 / 358.1 MB, free: 14.67 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.446e-05/0.01461, allocations: 63.53 kB / 358.2 MB, free: 14.61 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00049/0.0151, allocations: 65.03 kB / 358.3 MB, free: 14.54 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006872/0.01579, allocations: 437 kB / 358.7 MB, free: 14.07 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.856e-05/0.01587, allocations: 96.2 kB / 358.8 MB, free: 13.96 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.897e-05/0.01595, allocations: 34.23 kB / 358.8 MB, free: 13.93 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.384e-05/0.01603, allocations: 28.48 kB / 358.8 MB, free: 13.9 MB / 298.7 MB Notification: Performance of SimCode: time 1.563e-06/0.01603, allocations: 3.938 kB / 358.8 MB, free: 13.89 MB / 298.7 MB Notification: Performance of Templates: time 0.006977/0.02301, allocations: 3.156 MB / 362 MB, free: 10.76 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.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.4018503851257265]