Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.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.001289/0.001289, allocations: 81.86 kB / 21.44 MB, free: 3.055 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.0009895/0.0009895, allocations: 170 kB / 24.84 MB, free: 9.297 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.109/1.109, allocations: 158.6 MB / 186.7 MB, free: 2.789 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.1506/0.1506, allocations: 32.38 MB / 271.5 MB, free: 14.53 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.Test75,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.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,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.Test75") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.925e-06/2.925e-06, allocations: 0 / 349 MB, free: 9.109 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.42e-05/3.713e-05, allocations: 9.344 kB / 349 MB, free: 9.102 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.002711/0.002748, allocations: 1.855 MB / 350.8 MB, free: 7.234 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001128/0.003877, allocations: 0.8815 MB / 351.7 MB, free: 6.344 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001057/0.003982, allocations: 0 / 351.7 MB, free: 6.344 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004329/0.004415, allocations: 227.3 kB / 352 MB, free: 6.121 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002849/0.0047, allocations: 171.4 kB / 352.1 MB, free: 5.953 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002925/0.004993, allocations: 143.6 kB / 352.3 MB, free: 5.812 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002531/0.005246, allocations: 239.2 kB / 352.5 MB, free: 5.578 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.005363, allocations: 13.8 kB / 352.5 MB, free: 5.566 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001516/0.005515, allocations: 139.6 kB / 352.6 MB, free: 5.43 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001374/0.005652, allocations: 151.7 kB / 352.8 MB, free: 5.281 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.266e-05/0.005675, allocations: 8 kB / 352.8 MB, free: 5.273 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.861e-05/0.005754, allocations: 43.92 kB / 352.8 MB, free: 5.23 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.213e-05/0.005816, allocations: 63.77 kB / 352.9 MB, free: 5.168 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.421e-05/0.00586, allocations: 39.78 kB / 352.9 MB, free: 5.129 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001863/0.006046, allocations: 171.3 kB / 353.1 MB, free: 4.961 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.00605, allocations: 0 / 353.1 MB, free: 4.961 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.006052, allocations: 0 / 353.1 MB, free: 4.961 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.006058, allocations: 0 / 353.1 MB, free: 4.961 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.0004634/0.006521, allocations: 0.5808 MB / 353.7 MB, free: 4.344 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.006558, allocations: 12.03 kB / 353.7 MB, free: 4.332 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.647e-05/0.006614, allocations: 32.73 kB / 353.7 MB, free: 4.301 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001872/0.006802, allocations: 212.6 kB / 353.9 MB, free: 4.066 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.186e-05/0.006823, allocations: 8.359 kB / 354 MB, free: 4.059 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.584e-05/0.006849, allocations: 4.375 kB / 354 MB, free: 4.055 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001731/0.007022, allocations: 102.2 kB / 354.1 MB, free: 3.938 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.007037, allocations: 3.938 kB / 354.1 MB, free: 3.934 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.007047, allocations: 4 kB / 354.1 MB, free: 3.93 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.126e-06/0.007055, allocations: 4 kB / 354.1 MB, free: 3.926 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.644e-05/0.007102, allocations: 31.91 kB / 354.1 MB, free: 3.895 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004114/0.007513, allocations: 439.2 kB / 354.5 MB, free: 3.434 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001484/0.007662, allocations: 106.2 kB / 354.6 MB, free: 3.305 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.506e-05/0.007697, allocations: 31.36 kB / 354.7 MB, free: 3.266 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.663e-05/0.007713, allocations: 3.938 kB / 354.7 MB, free: 3.262 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001395/0.007853, allocations: 116.3 kB / 354.8 MB, free: 3.125 MB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 1.522e-06/0.007854, allocations: 4 kB / 354.8 MB, free: 3.121 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004765/0.008331, allocations: 245.2 kB / 355 MB, free: 2.875 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.934e-05/0.00836, allocations: 85.11 kB / 355.1 MB, free: 2.773 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001689/0.008529, allocations: 374.1 kB / 355.5 MB, free: 2.391 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.008546, allocations: 29.7 kB / 355.5 MB, free: 2.355 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.878e-05/0.008615, allocations: 223 kB / 355.7 MB, free: 2.133 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.532e-05/0.00865, allocations: 43.62 kB / 355.8 MB, free: 2.09 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.482e-05/0.008695, allocations: 47.34 kB / 355.8 MB, free: 2.035 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.198e-05/0.008767, allocations: 0.5156 MB / 356.3 MB, free: 1.508 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.367e-05/0.008801, allocations: 19.98 kB / 356.3 MB, free: 1.488 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.118e-05/0.008852, allocations: 69.8 kB / 356.4 MB, free: 1.406 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.907e-05/0.008941, allocations: 98.78 kB / 356.5 MB, free: 1.293 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.008943, allocations: 3.938 kB / 356.5 MB, free: 1.289 MB / 282.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001669/0.009109, allocations: 149.3 kB / 356.7 MB, free: 1.137 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.009126, allocations: 4 kB / 356.7 MB, free: 1.133 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.009132, allocations: 0 / 356.7 MB, free: 1.133 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.009148, allocations: 4 kB / 356.7 MB, free: 1.129 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/0.009262, allocations: 36.05 kB / 356.7 MB, free: 1.094 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.009268, allocations: 7.938 kB / 356.7 MB, free: 1.086 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.155e-05/0.00932, allocations: 8.734 kB / 356.7 MB, free: 1.078 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.009331, allocations: 8 kB / 356.7 MB, free: 1.07 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 8.517e-05/0.009416, allocations: 164.5 kB / 356.9 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.252e-05/0.009448, allocations: 31.81 kB / 356.9 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002266/0.009675, allocations: 180.3 kB / 357.1 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.009678, allocations: 0 / 357.1 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.00968, allocations: 4 kB / 357.1 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.009685, allocations: 4 kB / 357.1 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003743/0.01006, allocations: 0.6173 MB / 357.7 MB, free: 16 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.01006, allocations: 0 / 357.7 MB, free: 16 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.092e-05/0.01014, allocations: 20.03 kB / 357.7 MB, free: 15.99 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/0.01015, allocations: 4 kB / 357.7 MB, free: 15.99 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.418e-06/0.01016, allocations: 4 kB / 357.7 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.01016, allocations: 7.938 kB / 357.7 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.01016, allocations: 0 / 357.7 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003415/0.01051, allocations: 456.4 kB / 358.2 MB, free: 15.51 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.988e-05/0.01054, allocations: 31.86 kB / 358.2 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.541e-05/0.01056, allocations: 8 kB / 358.2 MB, free: 15.47 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.03e-05/0.01064, allocations: 7.984 kB / 358.2 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.023e-05/0.01069, allocations: 19.86 kB / 358.3 MB, free: 15.44 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.639e-05/0.01072, allocations: 11.98 kB / 358.3 MB, free: 15.43 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001616/0.01088, allocations: 246.9 kB / 358.5 MB, free: 15.19 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01088, allocations: 0 / 358.5 MB, free: 15.19 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002499/0.01113, allocations: 39.98 kB / 358.6 MB, free: 15.15 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.001099/0.01223, allocations: 434.8 kB / 359 MB, free: 14.81 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001793/0.01241, allocations: 90.94 kB / 359.1 MB, free: 14.72 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.01241, allocations: 0 / 359.1 MB, free: 14.72 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.678e-05/0.01247, allocations: 51.59 kB / 359.1 MB, free: 14.67 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003522/0.01282, allocations: 73.64 kB / 359.2 MB, free: 14.6 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005781/0.0134, allocations: 437 kB / 359.6 MB, free: 14.13 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.768e-05/0.01346, allocations: 92.22 kB / 359.7 MB, free: 14.02 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.935e-05/0.01353, allocations: 37.61 kB / 359.7 MB, free: 13.98 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001104/0.01364, allocations: 110.2 kB / 359.9 MB, free: 13.88 MB / 298.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01365, allocations: 0 / 359.9 MB, free: 13.88 MB / 298.7 MB Notification: Performance of Templates: time 0.005384/0.01903, allocations: 3.265 MB / 363.1 MB, free: 10.63 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.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.677029392682016]