Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.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.0007543/0.0007543, allocations: 80.45 kB / 20.69 MB, free: 3.875 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.0007631/0.0007631, allocations: 165.9 kB / 23.96 MB, free: 0.6055 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.8144/0.8144, allocations: 158.6 MB / 185.7 MB, free: 3.035 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.1225/0.1225, allocations: 32.37 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.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64") translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.092e-06/1.092e-06, allocations: 0 / 408.2 MB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.502e-05/1.611e-05, allocations: 2.281 kB / 408.2 MB, free: 12.93 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.001804/0.00182, allocations: 1.633 MB / 409.8 MB, free: 11.29 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007825/0.002603, allocations: 0.7685 MB / 410.6 MB, free: 10.51 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.825e-05/0.002661, allocations: 0 / 410.6 MB, free: 10.51 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002516/0.002913, allocations: 47.75 kB / 410.6 MB, free: 10.46 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001738/0.003086, allocations: 67.69 kB / 410.7 MB, free: 10.39 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001561/0.003242, allocations: 83.7 kB / 410.8 MB, free: 10.31 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000128/0.00337, allocations: 91.69 kB / 410.9 MB, free: 10.22 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.565e-05/0.003406, allocations: 8 kB / 410.9 MB, free: 10.21 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.149e-05/0.003478, allocations: 51.77 kB / 410.9 MB, free: 10.16 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.914e-05/0.003537, allocations: 19.92 kB / 411 MB, free: 10.14 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.356e-05/0.00355, allocations: 4 kB / 411 MB, free: 10.14 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.074e-05/0.003611, allocations: 35.92 kB / 411 MB, free: 10.11 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.649e-05/0.003657, allocations: 31.91 kB / 411 MB, free: 10.07 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.286e-05/0.00369, allocations: 19.88 kB / 411 MB, free: 10.05 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000146/0.003836, allocations: 111.6 kB / 411.2 MB, free: 9.945 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.003838, allocations: 0 / 411.2 MB, free: 9.945 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.003839, allocations: 0 / 411.2 MB, free: 9.945 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.296e-06/0.003842, allocations: 3.938 kB / 411.2 MB, free: 9.941 MB / 346.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.0003617/0.004204, allocations: 361.3 kB / 411.5 MB, free: 9.559 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.004237, allocations: 16.02 kB / 411.5 MB, free: 9.543 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.14e-05/0.004269, allocations: 12.84 kB / 411.5 MB, free: 9.531 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000155/0.004424, allocations: 157.3 kB / 411.7 MB, free: 9.352 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.748e-06/0.004433, allocations: 8.375 kB / 411.7 MB, free: 9.344 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.897e-06/0.004442, allocations: 384 / 411.7 MB, free: 9.344 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.638e-05/0.004539, allocations: 50.23 kB / 411.7 MB, free: 9.289 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.004546, allocations: 3.938 kB / 411.8 MB, free: 9.285 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.004555, allocations: 4 kB / 411.8 MB, free: 9.281 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.467e-06/0.004559, allocations: 0 / 411.8 MB, free: 9.281 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.223e-05/0.004601, allocations: 19.92 kB / 411.8 MB, free: 9.262 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001202/0.004721, allocations: 133.3 kB / 411.9 MB, free: 9.102 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.618e-05/0.004817, allocations: 50.61 kB / 412 MB, free: 9.043 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.171e-05/0.004849, allocations: 24.84 kB / 412 MB, free: 9.016 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.123e-05/0.00486, allocations: 3.984 kB / 412 MB, free: 9.012 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.083e-05/0.004951, allocations: 71.39 kB / 412.1 MB, free: 8.93 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 6.61e-07/0.004952, allocations: 3.938 kB / 412.1 MB, free: 8.926 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001708/0.005122, allocations: 101.5 kB / 412.2 MB, free: 8.82 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.784e-05/0.00515, allocations: 55.39 kB / 412.2 MB, free: 8.754 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001569/0.005307, allocations: 263.7 kB / 412.5 MB, free: 8.484 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.348e-06/0.005317, allocations: 25.7 kB / 412.5 MB, free: 8.453 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.262e-05/0.005359, allocations: 112.1 kB / 412.6 MB, free: 8.34 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.445e-05/0.005384, allocations: 15.84 kB / 412.6 MB, free: 8.324 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.497e-05/0.005409, allocations: 21.72 kB / 412.6 MB, free: 8.297 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.295e-05/0.005482, allocations: 326.8 kB / 413 MB, free: 7.969 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.707e-05/0.005509, allocations: 15.98 kB / 413 MB, free: 7.953 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.219e-05/0.005541, allocations: 29.7 kB / 413 MB, free: 7.918 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.736e-05/0.005598, allocations: 49.64 kB / 413.1 MB, free: 7.863 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.0056, allocations: 0 / 413.1 MB, free: 7.863 MB / 346.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.89e-05/0.005689, allocations: 89.53 kB / 413.1 MB, free: 7.77 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.809e-06/0.005699, allocations: 4 kB / 413.1 MB, free: 7.766 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.005704, allocations: 7.969 kB / 413.2 MB, free: 7.758 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.648e-06/0.005713, allocations: 4 kB / 413.2 MB, free: 7.754 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.838e-05/0.005762, allocations: 11.98 kB / 413.2 MB, free: 7.742 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-06/0.005766, allocations: 3.938 kB / 413.2 MB, free: 7.738 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.695e-05/0.005793, allocations: 4 kB / 413.2 MB, free: 7.734 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.078e-06/0.005797, allocations: 0 / 413.2 MB, free: 7.734 MB / 346.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.798e-05/0.005865, allocations: 133.8 kB / 413.3 MB, free: 7.594 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.164e-05/0.005876, allocations: 15.91 kB / 413.3 MB, free: 7.578 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001212/0.005998, allocations: 102.7 kB / 413.4 MB, free: 7.477 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.005999, allocations: 4 kB / 413.4 MB, free: 7.473 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.006003, allocations: 3.938 kB / 413.4 MB, free: 7.469 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.006006, allocations: 4 kB / 413.4 MB, free: 7.465 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.757e-05/0.006093, allocations: 149.6 kB / 413.6 MB, free: 7.289 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.006094, allocations: 0 / 413.6 MB, free: 7.289 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.774e-05/0.006112, allocations: 8 kB / 413.6 MB, free: 7.281 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.006113, allocations: 0 / 413.6 MB, free: 7.281 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.00612, allocations: 4 kB / 413.6 MB, free: 7.277 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.006122, allocations: 3.938 kB / 413.6 MB, free: 7.273 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.006123, allocations: 0 / 413.6 MB, free: 7.273 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.757e-05/0.00622, allocations: 121 kB / 413.7 MB, free: 7.137 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.218e-05/0.006232, allocations: 15.94 kB / 413.7 MB, free: 7.121 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.239e-05/0.006245, allocations: 0 / 413.7 MB, free: 7.121 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.784e-05/0.006263, allocations: 3.938 kB / 413.7 MB, free: 7.117 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.419e-05/0.006287, allocations: 11.98 kB / 413.7 MB, free: 7.105 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.055e-05/0.006297, allocations: 4 kB / 413.7 MB, free: 7.102 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001003/0.006398, allocations: 199.3 kB / 413.9 MB, free: 6.906 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006398, allocations: 0 / 413.9 MB, free: 6.906 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001371/0.006535, allocations: 15.94 kB / 414 MB, free: 6.891 MB / 346.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.0005804/0.007115, allocations: 440.1 kB / 414.4 MB, free: 6.508 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.576e-05/0.007211, allocations: 47.92 kB / 414.4 MB, free: 6.461 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.007212, allocations: 0 / 414.4 MB, free: 6.461 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.349e-05/0.007246, allocations: 19.98 kB / 414.5 MB, free: 6.441 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001587/0.007405, allocations: 35.19 kB / 414.5 MB, free: 6.41 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003269/0.007732, allocations: 291.5 kB / 414.8 MB, free: 6.086 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.727e-05/0.007789, allocations: 100.7 kB / 414.9 MB, free: 5.969 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.266e-05/0.007812, allocations: 20.56 kB / 414.9 MB, free: 5.949 MB / 346.7 MB Notification: Performance of SimCode: time 3.8e-07/0.007812, allocations: 0 / 414.9 MB, free: 5.949 MB / 346.7 MB Notification: Performance of Templates: time 0.002172/0.009984, allocations: 1.902 MB / 416.8 MB, free: 4.047 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.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.3836904829367995]