Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.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.0007928/0.0007928, 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.0007759/0.0007759, 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.8386/0.8386, 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.1337/0.1337, allocations: 32.37 MB / 270.4 MB, free: 14.96 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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.243e-06/1.243e-06, allocations: 0 / 408.2 MB, free: 1.668 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.681e-05/1.805e-05, allocations: 2.281 kB / 408.2 MB, free: 1.664 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.00209/0.002108, allocations: 1.891 MB / 410.1 MB, free: 15.76 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.000965/0.003073, allocations: 0.8037 MB / 410.9 MB, free: 14.95 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.458e-05/0.003148, allocations: 7.938 kB / 410.9 MB, free: 14.94 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002107/0.003358, allocations: 43.7 kB / 410.9 MB, free: 14.9 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001621/0.003521, allocations: 59.58 kB / 411 MB, free: 14.84 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002272/0.003748, allocations: 115.7 kB / 411.1 MB, free: 14.73 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001524/0.0039, allocations: 139.5 kB / 411.2 MB, free: 14.59 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.757e-05/0.003988, allocations: 25.67 kB / 411.2 MB, free: 14.56 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.542e-05/0.004073, allocations: 79.73 kB / 411.3 MB, free: 14.48 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.665e-05/0.00414, allocations: 31.91 kB / 411.4 MB, free: 14.45 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.564e-05/0.004155, allocations: 8 kB / 411.4 MB, free: 14.44 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.007e-05/0.004225, allocations: 47.91 kB / 411.4 MB, free: 14.39 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 4.341e-05/0.004269, allocations: 23.86 kB / 411.4 MB, free: 14.37 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 4.006e-05/0.004309, allocations: 35.84 kB / 411.5 MB, free: 14.34 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001708/0.00448, allocations: 147.5 kB / 411.6 MB, free: 14.19 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.423e-06/0.004481, allocations: 3.938 kB / 411.6 MB, free: 14.19 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.004483, allocations: 4 kB / 411.6 MB, free: 14.18 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.004486, allocations: 0 / 411.6 MB, free: 14.18 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000377/0.004863, allocations: 403.1 kB / 412 MB, free: 13.75 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.778e-05/0.004891, allocations: 12.03 kB / 412 MB, free: 13.74 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.356e-05/0.004925, allocations: 20.84 kB / 412 MB, free: 13.72 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001596/0.005084, allocations: 153.6 kB / 412.2 MB, free: 13.55 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.416e-06/0.005093, allocations: 8.312 kB / 412.2 MB, free: 13.54 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.745e-05/0.00511, allocations: 8.375 kB / 412.2 MB, free: 13.53 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001414/0.005251, allocations: 138.4 kB / 412.3 MB, free: 13.38 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.652e-06/0.005258, allocations: 3.938 kB / 412.4 MB, free: 13.37 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.005268, allocations: 8 kB / 412.4 MB, free: 13.36 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.406e-06/0.005272, allocations: 0 / 412.4 MB, free: 13.36 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.124e-05/0.005353, allocations: 55.89 kB / 412.4 MB, free: 13.31 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003327/0.005686, allocations: 444.7 kB / 412.8 MB, free: 12.84 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001825/0.005868, allocations: 98.59 kB / 412.9 MB, free: 12.73 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.802e-05/0.005916, allocations: 32.84 kB / 413 MB, free: 12.7 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.127e-05/0.005927, allocations: 3.984 kB / 413 MB, free: 12.69 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001074/0.006035, allocations: 105.1 kB / 413.1 MB, free: 12.57 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 9.32e-07/0.006036, allocations: 0 / 413.1 MB, free: 12.57 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.000218/0.006254, allocations: 149.5 kB / 413.2 MB, free: 12.42 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.336e-05/0.006277, allocations: 55.41 kB / 413.3 MB, free: 12.35 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000117/0.006394, allocations: 195.5 kB / 413.5 MB, free: 12.15 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.06e-05/0.006405, allocations: 25.7 kB / 413.5 MB, free: 12.12 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.6e-05/0.006461, allocations: 124 kB / 413.6 MB, free: 11.99 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.857e-05/0.006479, allocations: 27.75 kB / 413.6 MB, free: 11.96 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.323e-05/0.006512, allocations: 29.7 kB / 413.7 MB, free: 11.93 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.153e-05/0.006604, allocations: 330.8 kB / 414 MB, free: 11.6 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.594e-05/0.00665, allocations: 27.98 kB / 414 MB, free: 11.57 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.749e-05/0.006707, allocations: 64.27 kB / 414.1 MB, free: 11.49 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001104/0.006818, allocations: 112.5 kB / 414.2 MB, free: 11.37 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.006819, allocations: 0 / 414.2 MB, free: 11.37 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001426/0.006962, allocations: 133.4 kB / 414.3 MB, free: 11.23 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.006973, allocations: 8 kB / 414.3 MB, free: 11.22 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.006978, allocations: 128 / 414.3 MB, free: 11.22 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.077e-06/0.006987, allocations: 8 kB / 414.3 MB, free: 11.21 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.124e-05/0.007038, allocations: 27.92 kB / 414.4 MB, free: 11.19 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.007042, allocations: 4 kB / 414.4 MB, free: 11.18 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.535e-05/0.007078, allocations: 11.94 kB / 414.4 MB, free: 11.17 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-06/0.007083, allocations: 4 kB / 414.4 MB, free: 11.17 MB / 394.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 7.156e-05/0.007155, allocations: 133.7 kB / 414.5 MB, free: 11.03 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.342e-05/0.007168, allocations: 15.91 kB / 414.5 MB, free: 11.01 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001587/0.007327, allocations: 127.1 kB / 414.7 MB, free: 10.88 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.00733, allocations: 11.98 kB / 414.7 MB, free: 10.87 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.007335, allocations: 3.984 kB / 414.7 MB, free: 10.87 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.339e-06/0.007339, allocations: 3.938 kB / 414.7 MB, free: 10.86 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.223e-05/0.007431, allocations: 149.2 kB / 414.8 MB, free: 10.69 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.007432, allocations: 0 / 414.8 MB, free: 10.69 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.52e-05/0.007477, allocations: 12 kB / 414.8 MB, free: 10.68 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.007479, allocations: 0 / 414.8 MB, free: 10.68 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.712e-06/0.007486, allocations: 0 / 414.8 MB, free: 10.68 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.007486, allocations: 0 / 414.8 MB, free: 10.68 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.91e-07/0.007487, allocations: 0 / 414.8 MB, free: 10.68 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002053/0.007692, allocations: 205 kB / 415 MB, free: 10.46 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.422e-05/0.007707, allocations: 11.94 kB / 415.1 MB, free: 10.45 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.797e-05/0.007724, allocations: 15.98 kB / 415.1 MB, free: 10.43 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.498e-05/0.007749, allocations: 4 kB / 415.1 MB, free: 10.43 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.369e-05/0.007773, allocations: 3.984 kB / 415.1 MB, free: 10.42 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.217e-06/0.007782, allocations: 7.938 kB / 415.1 MB, free: 10.41 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.792e-05/0.00786, allocations: 149.1 kB / 415.2 MB, free: 10.27 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00786, allocations: 0 / 415.2 MB, free: 10.27 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001488/0.008009, allocations: 31.94 kB / 415.3 MB, free: 10.24 MB / 394.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.0005732/0.008582, allocations: 439.2 kB / 415.7 MB, free: 9.836 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001431/0.008725, allocations: 75.84 kB / 415.8 MB, free: 9.762 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.008727, allocations: 0 / 415.8 MB, free: 9.762 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.169e-05/0.008779, allocations: 43.91 kB / 415.8 MB, free: 9.719 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001673/0.008946, allocations: 43.89 kB / 415.8 MB, free: 9.676 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003428/0.009289, allocations: 288 kB / 416.1 MB, free: 9.359 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.574e-05/0.009345, allocations: 98.77 kB / 416.2 MB, free: 9.242 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.874e-05/0.009373, allocations: 24.5 kB / 416.3 MB, free: 9.219 MB / 394.7 MB Notification: Performance of SimCode: time 3.81e-07/0.009374, allocations: 0 / 416.3 MB, free: 9.219 MB / 394.7 MB Notification: Performance of Templates: time 0.00291/0.01228, allocations: 2.239 MB / 418.5 MB, free: 6.973 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.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.634255331009626]