Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.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.001201/0.001201, allocations: 88.2 kB / 20.94 MB, free: 3.609 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.001177/0.001177, allocations: 169.3 kB / 24.24 MB, free: 316 kB / 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.098/1.098, allocations: 158.6 MB / 186 MB, free: 2.918 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.166/0.166, allocations: 32.37 MB / 270.7 MB, free: 14.77 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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 347.7 MB, free: 9.711 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.455e-05/2.655e-05, allocations: 4.281 kB / 347.7 MB, free: 9.707 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.002196/0.002222, allocations: 1.946 MB / 349.7 MB, free: 7.75 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009427/0.003165, allocations: 0.8193 MB / 350.5 MB, free: 6.922 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00011/0.003275, allocations: 3.938 kB / 350.5 MB, free: 6.918 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003352/0.00361, allocations: 51.62 kB / 350.6 MB, free: 6.867 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000242/0.003852, allocations: 55.7 kB / 350.6 MB, free: 6.812 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002191/0.004071, allocations: 99.67 kB / 350.7 MB, free: 6.715 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002076/0.004279, allocations: 151.5 kB / 350.9 MB, free: 6.566 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001428/0.004422, allocations: 29.55 kB / 350.9 MB, free: 6.535 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001018/0.004524, allocations: 71.75 kB / 351 MB, free: 6.465 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001024/0.004626, allocations: 39.89 kB / 351 MB, free: 6.426 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.374e-05/0.00465, allocations: 8 kB / 351 MB, free: 6.418 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.648e-05/0.004736, allocations: 43.97 kB / 351.1 MB, free: 6.375 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.508e-05/0.004801, allocations: 23.86 kB / 351.1 MB, free: 6.352 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.794e-05/0.004859, allocations: 31.91 kB / 351.1 MB, free: 6.32 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002291/0.005088, allocations: 123.5 kB / 351.2 MB, free: 6.199 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.005091, allocations: 0 / 351.2 MB, free: 6.199 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.005093, allocations: 8 kB / 351.2 MB, free: 6.191 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.005098, allocations: 0 / 351.2 MB, free: 6.191 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006069/0.005705, allocations: 0.4935 MB / 351.7 MB, free: 5.656 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.005751, allocations: 12.03 kB / 351.7 MB, free: 5.645 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.033e-05/0.005821, allocations: 24.83 kB / 351.8 MB, free: 5.621 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002185/0.00604, allocations: 164.3 kB / 351.9 MB, free: 5.434 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.479e-05/0.006065, allocations: 8.312 kB / 351.9 MB, free: 5.426 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.609e-05/0.006091, allocations: 8.375 kB / 351.9 MB, free: 5.418 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002371/0.006328, allocations: 141.9 kB / 352.1 MB, free: 5.254 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.006338, allocations: 3.938 kB / 352.1 MB, free: 5.25 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.006352, allocations: 8 kB / 352.1 MB, free: 5.242 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.148e-05/0.006364, allocations: 0 / 352.1 MB, free: 5.242 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.617e-05/0.00642, allocations: 27.91 kB / 352.1 MB, free: 5.215 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004326/0.006852, allocations: 0.5834 MB / 352.7 MB, free: 4.586 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002052/0.007057, allocations: 71.16 kB / 352.8 MB, free: 4.504 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.65e-05/0.007094, allocations: 19.69 kB / 352.8 MB, free: 4.48 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.525e-05/0.007109, allocations: 8 kB / 352.8 MB, free: 4.473 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001212/0.00723, allocations: 102.7 kB / 352.9 MB, free: 4.352 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 1.052e-06/0.007231, allocations: 0 / 352.9 MB, free: 4.352 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002106/0.007442, allocations: 109.5 kB / 353 MB, free: 4.238 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.425e-05/0.007466, allocations: 55.39 kB / 353.1 MB, free: 4.172 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/0.007575, allocations: 234.7 kB / 353.3 MB, free: 3.926 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.042e-05/0.007586, allocations: 29.7 kB / 353.3 MB, free: 3.891 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.258e-05/0.007648, allocations: 162.8 kB / 353.5 MB, free: 3.727 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.833e-05/0.007667, allocations: 35.72 kB / 353.5 MB, free: 3.691 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.503e-05/0.007702, allocations: 39.38 kB / 353.5 MB, free: 3.645 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.945e-05/0.007761, allocations: 0.5 MB / 354 MB, free: 3.133 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.732e-05/0.007789, allocations: 19.92 kB / 354.1 MB, free: 3.113 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.916e-05/0.007828, allocations: 62.42 kB / 354.1 MB, free: 3.031 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.187e-05/0.0079, allocations: 82.73 kB / 354.2 MB, free: 2.93 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.007902, allocations: 3.938 kB / 354.2 MB, free: 2.926 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001141/0.008016, allocations: 117.4 kB / 354.3 MB, free: 2.805 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.008031, allocations: 7.984 kB / 354.3 MB, free: 2.797 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.008037, allocations: 4 kB / 354.3 MB, free: 2.793 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.008053, allocations: 0 / 354.3 MB, free: 2.793 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.688e-05/0.00812, allocations: 16 kB / 354.4 MB, free: 2.777 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.313e-06/0.008128, allocations: 4 kB / 354.4 MB, free: 2.773 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.524e-05/0.008163, allocations: 15.92 kB / 354.4 MB, free: 2.758 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-06/0.008171, allocations: 4 kB / 354.4 MB, free: 2.754 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.105e-05/0.008232, allocations: 176.4 kB / 354.6 MB, free: 2.57 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.623e-05/0.008248, allocations: 20.03 kB / 354.6 MB, free: 2.551 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001379/0.008386, allocations: 107.1 kB / 354.7 MB, free: 2.434 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.008388, allocations: 0 / 354.7 MB, free: 2.434 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.008393, allocations: 4 kB / 354.7 MB, free: 2.43 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.008399, allocations: 0 / 354.7 MB, free: 2.43 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.034e-05/0.008489, allocations: 164.5 kB / 354.8 MB, free: 2.234 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.008491, allocations: 0 / 354.8 MB, free: 2.234 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.824e-05/0.008539, allocations: 11.98 kB / 354.9 MB, free: 2.223 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.008541, allocations: 4 kB / 354.9 MB, free: 2.219 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.78e-05/0.008559, allocations: 4 kB / 354.9 MB, free: 2.215 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.00856, allocations: 0 / 354.9 MB, free: 2.215 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.008561, allocations: 4 kB / 354.9 MB, free: 2.211 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000158/0.008719, allocations: 160.2 kB / 355 MB, free: 2.031 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.291e-05/0.008732, allocations: 7.953 kB / 355 MB, free: 2.023 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.807e-05/0.00875, allocations: 0 / 355 MB, free: 2.023 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.866e-05/0.008778, allocations: 11.98 kB / 355 MB, free: 2.012 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.999e-05/0.008818, allocations: 7.938 kB / 355 MB, free: 2.004 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.479e-05/0.008833, allocations: 7.984 kB / 355.1 MB, free: 1.996 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.756e-05/0.008891, allocations: 173.1 kB / 355.2 MB, free: 1.828 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.008891, allocations: 0 / 355.2 MB, free: 1.828 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001556/0.009046, allocations: 31.89 kB / 355.3 MB, free: 1.797 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.0008474/0.009894, allocations: 386.1 kB / 355.6 MB, free: 1.508 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001396/0.01003, allocations: 63.73 kB / 355.7 MB, free: 1.441 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.01004, allocations: 0 / 355.7 MB, free: 1.441 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.178e-05/0.01008, allocations: 43.73 kB / 355.7 MB, free: 1.395 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002175/0.01029, allocations: 43.88 kB / 355.8 MB, free: 1.352 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004111/0.01071, allocations: 260.1 kB / 356 MB, free: 1.07 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.264e-05/0.01074, allocations: 71.78 kB / 356.1 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.136e-05/0.01078, allocations: 17.27 kB / 356.1 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.195e-05/0.01081, allocations: 16.5 kB / 356.1 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of SimCode: time 9.82e-07/0.01081, allocations: 0 / 356.1 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of Templates: time 0.004023/0.01484, allocations: 2.061 MB / 358.2 MB, free: 14.91 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.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.486010527005419]