Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.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.001323/0.001323, allocations: 88.2 kB / 20.94 MB, free: 3.598 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.001466/0.001466, allocations: 169 kB / 24.24 MB, free: 308 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.245/1.245, allocations: 158.6 MB / 186 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.1976/0.1976, allocations: 32.37 MB / 270.7 MB, free: 14.87 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.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.314e-06/2.314e-06, allocations: 0 / 347.7 MB, free: 9.707 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.81e-05/2.042e-05, allocations: 6.25 kB / 347.8 MB, free: 9.699 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.002097/0.002117, allocations: 1.742 MB / 349.5 MB, free: 7.945 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001025/0.003142, allocations: 0.7804 MB / 350.3 MB, free: 7.156 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.636e-05/0.003238, allocations: 0 / 350.3 MB, free: 7.156 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003924/0.003631, allocations: 51.69 kB / 350.3 MB, free: 7.105 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000243/0.003874, allocations: 47.77 kB / 350.4 MB, free: 7.059 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002232/0.004097, allocations: 87.69 kB / 350.5 MB, free: 6.973 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001765/0.004273, allocations: 99.64 kB / 350.6 MB, free: 6.875 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.004394, allocations: 8.234 kB / 350.6 MB, free: 6.867 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.394e-05/0.004478, allocations: 55.81 kB / 350.6 MB, free: 6.812 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.513e-05/0.004563, allocations: 23.92 kB / 350.6 MB, free: 6.789 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.269e-05/0.004586, allocations: 4 kB / 350.6 MB, free: 6.785 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001089/0.004695, allocations: 39.92 kB / 350.7 MB, free: 6.746 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.632e-05/0.004761, allocations: 31.84 kB / 350.7 MB, free: 6.715 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.308e-05/0.004814, allocations: 15.94 kB / 350.7 MB, free: 6.699 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002065/0.005021, allocations: 99.59 kB / 350.8 MB, free: 6.602 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.005024, allocations: 0 / 350.8 MB, free: 6.602 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.005025, allocations: 0 / 350.8 MB, free: 6.602 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.378e-06/0.005034, allocations: 7.984 kB / 350.8 MB, free: 6.594 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005177/0.005552, allocations: 439.9 kB / 351.3 MB, free: 6.129 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.1e-05/0.005613, allocations: 8.031 kB / 351.3 MB, free: 6.121 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.966e-05/0.005682, allocations: 12.89 kB / 351.3 MB, free: 6.109 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002174/0.0059, allocations: 148.4 kB / 351.4 MB, free: 5.938 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.778e-05/0.005928, allocations: 8.375 kB / 351.4 MB, free: 5.93 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.569e-05/0.005953, allocations: 4.328 kB / 351.4 MB, free: 5.926 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001732/0.006126, allocations: 62.94 kB / 351.5 MB, free: 5.855 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.006142, allocations: 7.922 kB / 351.5 MB, free: 5.848 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.006153, allocations: 0 / 351.5 MB, free: 5.848 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.838e-06/0.006163, allocations: 0 / 351.5 MB, free: 5.848 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.066e-05/0.006204, allocations: 12 kB / 351.5 MB, free: 5.836 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003437/0.006547, allocations: 283.8 kB / 351.8 MB, free: 5.523 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001159/0.006663, allocations: 55.09 kB / 351.9 MB, free: 5.457 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.555e-05/0.006699, allocations: 27.61 kB / 351.9 MB, free: 5.426 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.646e-05/0.006715, allocations: 0 / 351.9 MB, free: 5.426 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001141/0.006829, allocations: 65.05 kB / 351.9 MB, free: 5.348 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.873e-06/0.006831, allocations: 0 / 351.9 MB, free: 5.348 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004655/0.007297, allocations: 153.3 kB / 352.1 MB, free: 5.191 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.389e-05/0.007331, allocations: 55.41 kB / 352.1 MB, free: 5.125 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.007447, allocations: 228 kB / 352.4 MB, free: 4.887 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.185e-05/0.007459, allocations: 37.64 kB / 352.4 MB, free: 4.844 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.171e-05/0.007511, allocations: 142.9 kB / 352.5 MB, free: 4.699 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.312e-05/0.007544, allocations: 35.72 kB / 352.6 MB, free: 4.664 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.472e-05/0.007579, allocations: 27.38 kB / 352.6 MB, free: 4.629 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.694e-05/0.007646, allocations: 0.4962 MB / 353.1 MB, free: 4.121 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.414e-05/0.00767, allocations: 12.36 kB / 353.1 MB, free: 4.109 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.157e-05/0.007701, allocations: 35.36 kB / 353.2 MB, free: 4.066 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.508e-05/0.007756, allocations: 47.31 kB / 353.2 MB, free: 4.012 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.007758, allocations: 8 kB / 353.2 MB, free: 4.004 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001313/0.007889, allocations: 93.56 kB / 353.3 MB, free: 3.906 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.007907, allocations: 4 kB / 353.3 MB, free: 3.902 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.007915, allocations: 0 / 353.3 MB, free: 3.902 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.169e-05/0.007936, allocations: 4 kB / 353.3 MB, free: 3.898 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.008042, allocations: 15.94 kB / 353.3 MB, free: 3.883 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.271e-06/0.008048, allocations: 0 / 353.3 MB, free: 3.883 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.966e-05/0.008078, allocations: 4 kB / 353.3 MB, free: 3.879 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.008086, allocations: 3.984 kB / 353.3 MB, free: 3.875 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 (10): * Single equations (assignments): 10 * 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.52e-05/0.008151, allocations: 168.5 kB / 353.5 MB, free: 3.699 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.218e-05/0.008173, allocations: 15.91 kB / 353.5 MB, free: 3.684 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001633/0.008336, allocations: 110.5 kB / 353.6 MB, free: 3.57 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.008339, allocations: 0 / 353.6 MB, free: 3.57 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.008344, allocations: 0 / 353.6 MB, free: 3.57 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.008349, allocations: 0 / 353.6 MB, free: 3.57 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002648/0.008614, allocations: 389 kB / 354 MB, free: 3.145 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.008616, allocations: 0 / 354 MB, free: 3.145 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.909e-05/0.008645, allocations: 12 kB / 354 MB, free: 3.133 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.225e-06/0.008647, allocations: 0 / 354 MB, free: 3.133 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.008656, allocations: 12.02 kB / 354 MB, free: 3.121 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.008657, allocations: 0 / 354 MB, free: 3.121 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.008658, allocations: 0 / 354 MB, free: 3.121 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001129/0.008771, allocations: 259.4 kB / 354.3 MB, free: 2.844 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.088e-05/0.008782, allocations: 7.953 kB / 354.3 MB, free: 2.836 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.083e-05/0.008803, allocations: 8 kB / 354.3 MB, free: 2.828 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.785e-05/0.008841, allocations: 0 / 354.3 MB, free: 2.828 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.051e-05/0.008881, allocations: 11.92 kB / 354.3 MB, free: 2.816 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.344e-05/0.008895, allocations: 7.938 kB / 354.3 MB, free: 2.809 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.812e-05/0.008953, allocations: 168 kB / 354.5 MB, free: 2.645 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008953, allocations: 4 kB / 354.5 MB, free: 2.641 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001819/0.009135, allocations: 27.92 kB / 354.5 MB, free: 2.613 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 (9): * Single equations (assignments): 7 * 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.0009721/0.01011, allocations: 435.5 kB / 354.9 MB, free: 2.277 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001426/0.01025, allocations: 55.53 kB / 355 MB, free: 2.219 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.01025, allocations: 0 / 355 MB, free: 2.219 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.149e-05/0.01029, allocations: 27.69 kB / 355 MB, free: 2.188 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002637/0.01056, allocations: 39.81 kB / 355 MB, free: 2.148 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003804/0.01094, allocations: 217.8 kB / 355.3 MB, free: 1.902 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.878e-05/0.01098, allocations: 75.31 kB / 355.3 MB, free: 1.809 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.468e-05/0.01101, allocations: 12.48 kB / 355.3 MB, free: 1.797 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.459e-05/0.01105, allocations: 24.48 kB / 355.4 MB, free: 1.773 MB / 282.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01105, allocations: 0 / 355.4 MB, free: 1.773 MB / 282.7 MB Notification: Performance of Templates: time 0.003783/0.01483, allocations: 1.84 MB / 357.2 MB, free: 15.95 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.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.8013781260233372]