Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.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.001545/0.001545, allocations: 88.23 kB / 20.2 MB, free: 4.23 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.001776/0.001776, allocations: 157.7 kB / 23.51 MB, free: 0.9258 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.658/1.658, allocations: 158.6 MB / 185.3 MB, free: 2.887 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.2517/0.2517, allocations: 32.37 MB / 270 MB, free: 14.78 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.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 347 MB, free: 9.734 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.711e-05/2.896e-05, allocations: 2.312 kB / 347 MB, free: 9.73 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.002418/0.002447, allocations: 1.696 MB / 348.7 MB, free: 8.023 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001632/0.00408, allocations: 1.478 MB / 350.2 MB, free: 6.535 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.216e-05/0.004142, allocations: 0 / 350.2 MB, free: 6.535 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003078/0.00445, allocations: 47.64 kB / 350.2 MB, free: 6.488 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000235/0.004685, allocations: 55.7 kB / 350.3 MB, free: 6.434 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002306/0.004915, allocations: 87.69 kB / 350.4 MB, free: 6.348 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001526/0.005068, allocations: 103.6 kB / 350.5 MB, free: 6.246 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.543e-05/0.005153, allocations: 16.2 kB / 350.5 MB, free: 6.23 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.424e-05/0.005238, allocations: 55.78 kB / 350.5 MB, free: 6.176 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001077/0.005345, allocations: 35.89 kB / 350.6 MB, free: 6.141 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.058e-05/0.005366, allocations: 4 kB / 350.6 MB, free: 6.137 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001038/0.00547, allocations: 59.91 kB / 350.6 MB, free: 6.078 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.876e-05/0.005519, allocations: 27.91 kB / 350.7 MB, free: 6.051 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.596e-05/0.005565, allocations: 15.94 kB / 350.7 MB, free: 6.035 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002109/0.005775, allocations: 143.5 kB / 350.8 MB, free: 5.895 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.005779, allocations: 0 / 350.8 MB, free: 5.895 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.00578, allocations: 4 kB / 350.8 MB, free: 5.891 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.005784, allocations: 0 / 350.8 MB, free: 5.891 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004983/0.006283, allocations: 341.6 kB / 351.2 MB, free: 5.527 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.00632, allocations: 8.031 kB / 351.2 MB, free: 5.52 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.02e-05/0.00638, allocations: 8.891 kB / 351.2 MB, free: 5.512 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002483/0.006629, allocations: 150.2 kB / 351.3 MB, free: 5.34 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.845e-05/0.006647, allocations: 4.375 kB / 351.3 MB, free: 5.336 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.922e-05/0.006676, allocations: 4.375 kB / 351.3 MB, free: 5.332 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001931/0.00687, allocations: 105 kB / 351.4 MB, free: 5.211 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.006881, allocations: 0 / 351.4 MB, free: 5.211 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.006894, allocations: 11.94 kB / 351.4 MB, free: 5.199 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.006897, allocations: 0 / 351.4 MB, free: 5.199 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.572e-05/0.006993, allocations: 31.97 kB / 351.5 MB, free: 5.168 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000321/0.007314, allocations: 248.4 kB / 351.7 MB, free: 4.895 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001953/0.007509, allocations: 66.67 kB / 351.8 MB, free: 4.82 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.691e-05/0.007576, allocations: 32.78 kB / 351.8 MB, free: 4.785 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.885e-05/0.007595, allocations: 0 / 351.8 MB, free: 4.785 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001564/0.007752, allocations: 75.38 kB / 351.9 MB, free: 4.699 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.007753, allocations: 4 kB / 351.9 MB, free: 4.695 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005943/0.008347, allocations: 213.2 kB / 352.1 MB, free: 4.48 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.165e-05/0.008379, allocations: 81.11 kB / 352.2 MB, free: 4.383 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001266/0.008505, allocations: 162.4 kB / 352.3 MB, free: 4.211 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.543e-05/0.008521, allocations: 33.7 kB / 352.4 MB, free: 4.172 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.895e-05/0.00856, allocations: 96.2 kB / 352.5 MB, free: 4.074 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.076e-05/0.00859, allocations: 31.73 kB / 352.5 MB, free: 4.043 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.113e-05/0.008642, allocations: 29.7 kB / 352.5 MB, free: 4.008 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.051e-05/0.008692, allocations: 326.8 kB / 352.8 MB, free: 3.68 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.229e-05/0.008754, allocations: 27.92 kB / 352.9 MB, free: 3.652 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.722e-05/0.008822, allocations: 80.27 kB / 353 MB, free: 3.559 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001157/0.008937, allocations: 69.7 kB / 353 MB, free: 3.484 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.008938, allocations: 0 / 353 MB, free: 3.484 MB / 282.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001906/0.009129, allocations: 129.5 kB / 353.1 MB, free: 3.352 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.00914, allocations: 4 kB / 353.2 MB, free: 3.348 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.009146, allocations: 0 / 353.2 MB, free: 3.348 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.242e-05/0.009169, allocations: 4 kB / 353.2 MB, free: 3.344 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.293e-05/0.009262, allocations: 15.98 kB / 353.2 MB, free: 3.328 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.009267, allocations: 4.531 kB / 353.2 MB, free: 3.324 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.777e-05/0.009314, allocations: 11.94 kB / 353.2 MB, free: 3.312 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.009322, allocations: 4 kB / 353.2 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 (11): * Single equations (assignments): 11 * 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 6.515e-05/0.009387, allocations: 125.8 kB / 353.3 MB, free: 3.176 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.789e-05/0.009415, allocations: 15.95 kB / 353.3 MB, free: 3.16 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002678/0.009683, allocations: 150.2 kB / 353.5 MB, free: 3.008 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.009686, allocations: 0 / 353.5 MB, free: 3.008 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.009691, allocations: 0 / 353.5 MB, free: 3.008 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.009694, allocations: 0 / 353.5 MB, free: 3.008 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003746/0.01007, allocations: 378.9 kB / 353.8 MB, free: 2.598 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.01007, allocations: 4 kB / 353.9 MB, free: 2.594 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.688e-05/0.01012, allocations: 15.94 kB / 353.9 MB, free: 2.578 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.01012, allocations: 0 / 353.9 MB, free: 2.578 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.01013, allocations: 8 kB / 353.9 MB, free: 2.57 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.01013, allocations: 7.922 kB / 353.9 MB, free: 2.562 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01013, allocations: 0 / 353.9 MB, free: 2.562 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002154/0.01035, allocations: 228.2 kB / 354.1 MB, free: 2.32 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.655e-05/0.01037, allocations: 15.89 kB / 354.1 MB, free: 2.305 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.509e-05/0.01039, allocations: 8 kB / 354.1 MB, free: 2.297 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.79e-05/0.01047, allocations: 7.969 kB / 354.1 MB, free: 2.289 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.297e-05/0.01051, allocations: 11.92 kB / 354.1 MB, free: 2.277 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.667e-05/0.01053, allocations: 8 kB / 354.2 MB, free: 2.27 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.556e-05/0.0106, allocations: 127.2 kB / 354.3 MB, free: 2.145 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.0106, allocations: 0 / 354.3 MB, free: 2.145 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002754/0.01088, allocations: 35.94 kB / 354.3 MB, free: 2.109 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 (11): * Single equations (assignments): 9 * 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.002261/0.01314, allocations: 0.5224 MB / 354.8 MB, free: 1.699 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002058/0.01335, allocations: 75.91 kB / 354.9 MB, free: 1.625 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.01335, allocations: 0 / 354.9 MB, free: 1.625 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.856e-05/0.01344, allocations: 39.92 kB / 355 MB, free: 1.586 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000359/0.0138, allocations: 41.58 kB / 355 MB, free: 1.547 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004361/0.01423, allocations: 217 kB / 355.2 MB, free: 1.305 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.695e-05/0.01429, allocations: 85.44 kB / 355.3 MB, free: 1.203 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.907e-05/0.01435, allocations: 28.94 kB / 355.3 MB, free: 1.176 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.161e-05/0.01441, allocations: 32.48 kB / 355.3 MB, free: 1.141 MB / 282.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01441, allocations: 0 / 355.3 MB, free: 1.141 MB / 282.7 MB Notification: Performance of Templates: time 0.005672/0.02008, allocations: 2.252 MB / 357.6 MB, free: 14.9 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.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.160681859939359]