Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.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.0008515/0.0008515, allocations: 84.44 kB / 20.69 MB, free: 3.871 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.0007789/0.0007789, allocations: 173.9 kB / 23.96 MB, free: 0.5977 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 0.865/0.865, allocations: 158.6 MB / 185.7 MB, free: 3.039 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.1284/0.1284, allocations: 32.39 MB / 270.4 MB, free: 14.97 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.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 3.938 kB / 408.2 MB, free: 1.66 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.436e-05/2.598e-05, allocations: 2.281 kB / 408.2 MB, free: 1.656 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.002297/0.002323, allocations: 1.757 MB / 409.9 MB, free: 15.89 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001012/0.003334, allocations: 0.8467 MB / 410.8 MB, free: 15.03 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.426e-05/0.003419, allocations: 7.938 kB / 410.8 MB, free: 15.02 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004387/0.003857, allocations: 307.1 kB / 411.1 MB, free: 14.72 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000285/0.004142, allocations: 219.2 kB / 411.3 MB, free: 14.51 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002471/0.004389, allocations: 139.6 kB / 411.4 MB, free: 14.37 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002316/0.004621, allocations: 251.2 kB / 411.7 MB, free: 14.12 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.897e-05/0.00467, allocations: 9.797 kB / 411.7 MB, free: 14.11 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001434/0.004813, allocations: 151.6 kB / 411.8 MB, free: 13.96 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001944/0.005008, allocations: 207.6 kB / 412 MB, free: 13.76 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.26e-05/0.00503, allocations: 4 kB / 412 MB, free: 13.76 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.448e-05/0.005115, allocations: 47.92 kB / 412.1 MB, free: 13.71 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001192/0.005234, allocations: 139.6 kB / 412.2 MB, free: 13.57 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 6.623e-05/0.0053, allocations: 67.67 kB / 412.3 MB, free: 13.51 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003066/0.005607, allocations: 350.8 kB / 412.6 MB, free: 13.16 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.00561, allocations: 0 / 412.6 MB, free: 13.16 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.005613, allocations: 4 kB / 412.6 MB, free: 13.16 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.061e-06/0.005619, allocations: 0 / 412.6 MB, free: 13.16 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006837/0.006302, allocations: 0.6669 MB / 413.3 MB, free: 12.46 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.006338, allocations: 8.031 kB / 413.3 MB, free: 12.45 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.289e-05/0.006401, allocations: 56.55 kB / 413.4 MB, free: 12.4 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003809/0.006782, allocations: 389.7 kB / 413.8 MB, free: 11.99 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.006796, allocations: 4.359 kB / 413.8 MB, free: 11.99 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.155e-05/0.006808, allocations: 8.375 kB / 413.8 MB, free: 11.98 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001535/0.006961, allocations: 83.92 kB / 413.8 MB, free: 11.89 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.006971, allocations: 3.938 kB / 413.8 MB, free: 11.88 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.006984, allocations: 8 kB / 413.9 MB, free: 11.88 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.006988, allocations: 0 / 413.9 MB, free: 11.88 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.921e-05/0.007058, allocations: 35.91 kB / 413.9 MB, free: 11.84 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002682/0.007326, allocations: 302.1 kB / 414.2 MB, free: 11.51 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001726/0.007498, allocations: 101.2 kB / 414.3 MB, free: 11.39 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.344e-05/0.007552, allocations: 41.7 kB / 414.3 MB, free: 11.35 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.514e-05/0.007567, allocations: 4 kB / 414.3 MB, free: 11.34 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001562/0.007723, allocations: 117 kB / 414.4 MB, free: 11.21 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 9.52e-07/0.007724, allocations: 0 / 414.4 MB, free: 11.21 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003079/0.008032, allocations: 205.2 kB / 414.6 MB, free: 11 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.66e-05/0.008079, allocations: 85.05 kB / 414.7 MB, free: 10.9 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000681/0.00876, allocations: 1.042 MB / 415.8 MB, free: 9.848 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.00878, allocations: 33.7 kB / 415.8 MB, free: 9.809 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/0.008896, allocations: 236 kB / 416 MB, free: 9.574 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.663e-05/0.008933, allocations: 27.78 kB / 416.1 MB, free: 9.547 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.869e-05/0.008972, allocations: 29.72 kB / 416.1 MB, free: 9.512 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.009077, allocations: 362.8 kB / 416.4 MB, free: 9.148 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.725e-05/0.009134, allocations: 27.98 kB / 416.5 MB, free: 9.121 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.728e-05/0.009191, allocations: 63.41 kB / 416.5 MB, free: 9.047 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001074/0.009299, allocations: 95.84 kB / 416.6 MB, free: 8.941 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.009302, allocations: 4 kB / 416.6 MB, free: 8.938 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000175/0.009477, allocations: 173.3 kB / 416.8 MB, free: 8.762 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.009492, allocations: 8 kB / 416.8 MB, free: 8.754 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.009499, allocations: 3.938 kB / 416.8 MB, free: 8.75 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.009511, allocations: 0 / 416.8 MB, free: 8.75 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.565e-05/0.009586, allocations: 27.92 kB / 416.8 MB, free: 8.723 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.009592, allocations: 0 / 416.8 MB, free: 8.723 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.102e-05/0.009643, allocations: 7.953 kB / 416.8 MB, free: 8.715 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.136e-06/0.009651, allocations: 8.062 kB / 416.9 MB, free: 8.707 MB / 394.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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * 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 0.0001424/0.009793, allocations: 229.6 kB / 417.1 MB, free: 8.473 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.523e-05/0.009828, allocations: 55.61 kB / 417.1 MB, free: 8.418 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002334/0.01006, allocations: 209.6 kB / 417.3 MB, free: 8.207 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.01007, allocations: 4 kB / 417.3 MB, free: 8.203 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.01007, allocations: 0 / 417.3 MB, free: 8.203 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.01008, allocations: 3.984 kB / 417.3 MB, free: 8.199 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001766/0.01025, allocations: 265.1 kB / 417.6 MB, free: 7.91 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.01025, allocations: 0 / 417.6 MB, free: 7.91 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.925e-05/0.01028, allocations: 16.17 kB / 417.6 MB, free: 7.895 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.01029, allocations: 8 kB / 417.6 MB, free: 7.887 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.0103, allocations: 11.98 kB / 417.6 MB, free: 7.875 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.0103, allocations: 11.92 kB / 417.7 MB, free: 7.863 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.0103, allocations: 0 / 417.7 MB, free: 7.863 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000189/0.01049, allocations: 209.6 kB / 417.9 MB, free: 7.637 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.782e-05/0.01055, allocations: 63.66 kB / 417.9 MB, free: 7.574 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.563e-05/0.01057, allocations: 4 kB / 417.9 MB, free: 7.57 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.888e-05/0.01061, allocations: 7.938 kB / 417.9 MB, free: 7.562 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.083e-05/0.01065, allocations: 15.86 kB / 417.9 MB, free: 7.547 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.58e-05/0.01067, allocations: 15.98 kB / 418 MB, free: 7.531 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004896/0.01116, allocations: 0.7722 MB / 418.7 MB, free: 6.762 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01116, allocations: 0 / 418.7 MB, free: 6.762 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001825/0.01134, allocations: 51.92 kB / 418.8 MB, free: 6.711 MB / 394.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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.0006661/0.01201, allocations: 435.7 kB / 419.2 MB, free: 6.309 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001671/0.01217, allocations: 83.89 kB / 419.3 MB, free: 6.227 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.01218, allocations: 0 / 419.3 MB, free: 6.227 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.008e-05/0.01224, allocations: 44.03 kB / 419.3 MB, free: 6.184 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002636/0.0125, allocations: 74.12 kB / 419.4 MB, free: 6.109 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008561/0.01336, allocations: 0.9253 MB / 420.3 MB, free: 5.145 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001516/0.01351, allocations: 237.8 kB / 420.6 MB, free: 4.891 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.849e-05/0.01356, allocations: 36.42 kB / 420.6 MB, free: 4.855 MB / 394.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01356, allocations: 0 / 420.6 MB, free: 4.855 MB / 394.7 MB Notification: Performance of Templates: time 0.005126/0.01868, allocations: 5.264 MB / 425.9 MB, free: 15.59 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.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: 4.8044153256341815]