Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.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.0009815/0.0009815, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001013/0.001013, allocations: 165 kB / 24.56 MB, free: 12 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9889/0.9889, allocations: 177.1 MB / 205 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2631/0.2631, allocations: 34.27 MB / 295.7 MB, free: 0.7383 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 378.1 MB, free: 2.555 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.393e-05/2.524e-05, allocations: 6.25 kB / 378.1 MB, free: 2.547 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.002391/0.002416, allocations: 1.719 MB / 379.8 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001226/0.003642, allocations: 0.9975 MB / 380.8 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.504e-05/0.003717, allocations: 0 / 380.8 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002827/0.004, allocations: 55.75 kB / 380.9 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002945/0.004294, allocations: 111.4 kB / 381 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001722/0.004467, allocations: 71.67 kB / 381.1 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001443/0.004611, allocations: 99.62 kB / 381.2 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.818e-05/0.004649, allocations: 8.219 kB / 381.2 MB, free: 15.47 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.831e-05/0.004727, allocations: 55.84 kB / 381.2 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.41e-05/0.004792, allocations: 23.91 kB / 381.3 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.001e-05/0.004822, allocations: 4 kB / 381.3 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.891e-05/0.00489, allocations: 35.92 kB / 381.3 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002997/0.00519, allocations: 27.86 kB / 381.3 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.694e-05/0.005227, allocations: 15.94 kB / 381.3 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001577/0.005385, allocations: 99.59 kB / 381.4 MB, free: 15.21 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.033e-06/0.005387, allocations: 4 kB / 381.4 MB, free: 15.21 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.005388, allocations: 0 / 381.4 MB, free: 15.21 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.097e-06/0.005392, allocations: 0 / 381.4 MB, free: 15.21 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004341/0.005826, allocations: 479.7 kB / 381.9 MB, free: 14.7 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.005859, allocations: 8.031 kB / 381.9 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.912e-05/0.005908, allocations: 16.84 kB / 381.9 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000167/0.006075, allocations: 165.2 kB / 382.1 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.006092, allocations: 4.375 kB / 382.1 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.987e-06/0.006101, allocations: 384 / 382.1 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001092/0.00621, allocations: 54.94 kB / 382.2 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.006219, allocations: 7.938 kB / 382.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-06/0.006227, allocations: 0 / 382.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.006235, allocations: 0 / 382.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.918e-05/0.006264, allocations: 11.98 kB / 382.2 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001382/0.006402, allocations: 156.6 kB / 382.3 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.447e-05/0.006496, allocations: 51.05 kB / 382.4 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.741e-05/0.006524, allocations: 19.67 kB / 382.4 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.026e-05/0.006534, allocations: 0 / 382.4 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.843e-05/0.006622, allocations: 69.03 kB / 382.5 MB, free: 14.05 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 7.22e-07/0.006623, allocations: 0 / 382.5 MB, free: 14.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001798/0.006803, allocations: 97.45 kB / 382.6 MB, free: 13.95 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.136e-05/0.006834, allocations: 51.41 kB / 382.6 MB, free: 13.88 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001473/0.006982, allocations: 277.6 kB / 382.9 MB, free: 13.59 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.14e-05/0.006993, allocations: 25.7 kB / 382.9 MB, free: 13.56 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.591e-05/0.007049, allocations: 166.9 kB / 383.1 MB, free: 13.39 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.545e-05/0.007074, allocations: 15.84 kB / 383.1 MB, free: 13.38 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.843e-05/0.007103, allocations: 23.38 kB / 383.1 MB, free: 13.35 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.007208, allocations: 0.504 MB / 383.6 MB, free: 12.83 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.075e-05/0.007229, allocations: 8 kB / 383.6 MB, free: 12.82 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.731e-05/0.007256, allocations: 27.36 kB / 383.6 MB, free: 12.79 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.594e-05/0.007302, allocations: 43.56 kB / 383.7 MB, free: 12.74 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.007304, allocations: 8 kB / 383.7 MB, free: 12.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.044e-05/0.007385, allocations: 73.59 kB / 383.8 MB, free: 12.65 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.007397, allocations: 5.719 kB / 383.8 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.007402, allocations: 3.938 kB / 383.8 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.007415, allocations: 0 / 383.8 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.323e-05/0.007478, allocations: 19.92 kB / 383.8 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.007482, allocations: 0 / 383.8 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.719e-05/0.00751, allocations: 0 / 383.8 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.007514, allocations: 4 kB / 383.8 MB, free: 12.62 MB / 362.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 (7): * Single equations (assignments): 7 * 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.832e-05/0.007583, allocations: 164.2 kB / 384 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.366e-05/0.007596, allocations: 19.94 kB / 384 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000123/0.007719, allocations: 90.91 kB / 384.1 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.007721, allocations: 0 / 384.1 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.007724, allocations: 0 / 384.1 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.007727, allocations: 0 / 384.1 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.471e-05/0.007822, allocations: 168.4 kB / 384.2 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.007824, allocations: 3.984 kB / 384.2 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.892e-05/0.007843, allocations: 4 kB / 384.2 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.007846, allocations: 0 / 384.2 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.752e-06/0.007853, allocations: 0 / 384.2 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.007855, allocations: 3.938 kB / 384.2 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.007858, allocations: 11.98 kB / 384.3 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001056/0.007964, allocations: 124.5 kB / 384.4 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.412e-05/0.007978, allocations: 11.91 kB / 384.4 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.641e-05/0.007994, allocations: 0 / 384.4 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.301e-05/0.008017, allocations: 3.938 kB / 384.4 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.857e-05/0.008046, allocations: 7.984 kB / 384.4 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.235e-05/0.008058, allocations: 8 kB / 384.4 MB, free: 11.94 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.543e-05/0.008143, allocations: 192.5 kB / 384.6 MB, free: 11.75 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.008144, allocations: 3.938 kB / 384.6 MB, free: 11.75 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001434/0.008287, allocations: 19.94 kB / 384.6 MB, free: 11.73 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0009743/0.009261, allocations: 385.9 kB / 385 MB, free: 11.49 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001106/0.009372, allocations: 39.66 kB / 385 MB, free: 11.45 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.009373, allocations: 4.062 kB / 385 MB, free: 11.44 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.152e-05/0.009405, allocations: 23.62 kB / 385.1 MB, free: 11.41 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001833/0.009588, allocations: 31.97 kB / 385.1 MB, free: 11.38 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003396/0.009928, allocations: 230.5 kB / 385.3 MB, free: 11.13 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.667e-05/0.009965, allocations: 71.33 kB / 385.4 MB, free: 11.04 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.24e-05/0.009997, allocations: 12.48 kB / 385.4 MB, free: 11.03 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.966e-05/0.01003, allocations: 16.5 kB / 385.4 MB, free: 11.01 MB / 362.7 MB Notification: Performance of SimCode: time 8.31e-07/0.01003, allocations: 0 / 385.4 MB, free: 11.01 MB / 362.7 MB Notification: Performance of Templates: time 0.003671/0.0137, allocations: 1.787 MB / 387.2 MB, free: 9.246 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.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.1768272491171956]