Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.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.0008224/0.0008224, 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.0009122/0.0009122, allocations: 166.3 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.8196/0.8196, allocations: 158.6 MB / 185.7 MB, free: 3.043 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.1282/0.1282, 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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31") translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 408.2 MB, free: 1.652 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.796e-05/2.955e-05, allocations: 6.219 kB / 408.2 MB, free: 1.645 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.00232/0.002349, allocations: 1.679 MB / 409.9 MB, free: 15.95 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001249/0.003598, allocations: 0.7804 MB / 410.6 MB, free: 15.16 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.874e-05/0.003677, allocations: 7.938 kB / 410.7 MB, free: 15.16 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003072/0.003984, allocations: 31.83 kB / 410.7 MB, free: 15.12 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002395/0.004223, allocations: 59.69 kB / 410.7 MB, free: 15.07 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002427/0.004466, allocations: 83.72 kB / 410.8 MB, free: 14.98 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001689/0.004635, allocations: 103.6 kB / 410.9 MB, free: 14.88 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.004739, allocations: 8.234 kB / 410.9 MB, free: 14.88 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.548e-05/0.004824, allocations: 51.78 kB / 411 MB, free: 14.82 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.485e-05/0.004899, allocations: 31.89 kB / 411 MB, free: 14.79 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.975e-05/0.004919, allocations: 4 kB / 411 MB, free: 14.79 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.071e-05/0.00501, allocations: 43.92 kB / 411.1 MB, free: 14.75 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.518e-05/0.005065, allocations: 27.91 kB / 411.1 MB, free: 14.72 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.788e-05/0.005103, allocations: 11.94 kB / 411.1 MB, free: 14.71 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001857/0.005288, allocations: 115.6 kB / 411.2 MB, free: 14.59 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.005291, allocations: 0 / 411.2 MB, free: 14.59 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.005293, allocations: 3.938 kB / 411.2 MB, free: 14.59 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.005298, allocations: 0 / 411.2 MB, free: 14.59 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004362/0.005734, allocations: 341.6 kB / 411.6 MB, free: 14.23 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.00577, allocations: 8.031 kB / 411.6 MB, free: 14.22 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.412e-05/0.005814, allocations: 12.84 kB / 411.6 MB, free: 14.21 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001844/0.005999, allocations: 150.2 kB / 411.7 MB, free: 14.04 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.006012, allocations: 4.375 kB / 411.7 MB, free: 14.03 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.103e-05/0.006033, allocations: 4.375 kB / 411.7 MB, free: 14.03 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001288/0.006161, allocations: 58.23 kB / 411.8 MB, free: 13.96 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.006175, allocations: 3.938 kB / 411.8 MB, free: 13.96 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.006184, allocations: 0 / 411.8 MB, free: 13.96 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.00619, allocations: 7.984 kB / 411.8 MB, free: 13.95 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.307e-05/0.006243, allocations: 23.98 kB / 411.8 MB, free: 13.93 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002893/0.006532, allocations: 220.6 kB / 412 MB, free: 13.68 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001214/0.006653, allocations: 58.61 kB / 412.1 MB, free: 13.62 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.695e-05/0.00669, allocations: 24.78 kB / 412.1 MB, free: 13.59 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.422e-05/0.006705, allocations: 0 / 412.1 MB, free: 13.59 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001133/0.006818, allocations: 71.33 kB / 412.2 MB, free: 13.51 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.263e-06/0.006819, allocations: 0 / 412.2 MB, free: 13.51 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004288/0.007248, allocations: 189.3 kB / 412.4 MB, free: 13.32 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.207e-05/0.00728, allocations: 55.41 kB / 412.4 MB, free: 13.25 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001236/0.007404, allocations: 194.2 kB / 412.6 MB, free: 13.05 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.396e-05/0.007418, allocations: 33.7 kB / 412.6 MB, free: 13.01 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.645e-05/0.007464, allocations: 100.1 kB / 412.7 MB, free: 12.91 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.609e-05/0.00749, allocations: 23.84 kB / 412.8 MB, free: 12.89 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.5e-05/0.007525, allocations: 29.64 kB / 412.8 MB, free: 12.85 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.222e-05/0.007607, allocations: 322.8 kB / 413.1 MB, free: 12.53 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.931e-05/0.007647, allocations: 19.98 kB / 413.1 MB, free: 12.51 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.021e-05/0.007687, allocations: 37.7 kB / 413.2 MB, free: 12.46 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.676e-05/0.007764, allocations: 69.64 kB / 413.2 MB, free: 12.39 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.007765, allocations: 0 / 413.2 MB, free: 12.39 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001198/0.007885, allocations: 105.5 kB / 413.3 MB, free: 12.28 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.007898, allocations: 4 kB / 413.3 MB, free: 12.28 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.007903, allocations: 0 / 413.3 MB, free: 12.28 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.007915, allocations: 4 kB / 413.3 MB, free: 12.27 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.777e-05/0.007983, allocations: 15.98 kB / 413.4 MB, free: 12.26 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.00799, allocations: 8.266 kB / 413.4 MB, free: 12.25 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.273e-05/0.008022, allocations: 4 kB / 413.4 MB, free: 12.25 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-06/0.008028, allocations: 3.938 kB / 413.4 MB, free: 12.24 MB / 394.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 (10): * Single equations (assignments): 10 * 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.457e-05/0.008113, allocations: 141.7 kB / 413.5 MB, free: 12.09 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.29e-05/0.008125, allocations: 7.953 kB / 413.5 MB, free: 12.09 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001632/0.008289, allocations: 118.4 kB / 413.6 MB, free: 11.97 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.008291, allocations: 0 / 413.6 MB, free: 11.97 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.008296, allocations: 4.375 kB / 413.6 MB, free: 11.96 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.008299, allocations: 0 / 413.6 MB, free: 11.96 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002956/0.008594, allocations: 354.9 kB / 414 MB, free: 11.58 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.008597, allocations: 0 / 414 MB, free: 11.58 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.444e-05/0.008621, allocations: 8.031 kB / 414 MB, free: 11.57 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.008624, allocations: 4 kB / 414 MB, free: 11.57 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.008635, allocations: 7.984 kB / 414 MB, free: 11.56 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.008637, allocations: 0 / 414 MB, free: 11.56 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.008639, allocations: 0 / 414 MB, free: 11.56 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001564/0.008795, allocations: 212.2 kB / 414.2 MB, free: 11.33 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.418e-05/0.008809, allocations: 15.84 kB / 414.2 MB, free: 11.32 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.771e-05/0.008827, allocations: 4 kB / 414.2 MB, free: 11.31 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.249e-05/0.00887, allocations: 11.97 kB / 414.3 MB, free: 11.3 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.197e-05/0.008902, allocations: 4 kB / 414.3 MB, free: 11.3 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.638e-05/0.008918, allocations: 7.984 kB / 414.3 MB, free: 11.29 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.895e-05/0.009007, allocations: 148.1 kB / 414.4 MB, free: 11.14 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009007, allocations: 4 kB / 414.4 MB, free: 11.14 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001847/0.009192, allocations: 23.98 kB / 414.4 MB, free: 11.12 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: 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 (9): * Single equations (assignments): 7 * 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.0007939/0.009986, allocations: 496.5 kB / 414.9 MB, free: 10.66 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001539/0.01014, allocations: 59.91 kB / 415 MB, free: 10.6 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.01014, allocations: 0 / 415 MB, free: 10.6 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.679e-05/0.01019, allocations: 27.98 kB / 415 MB, free: 10.57 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002365/0.01042, allocations: 23.98 kB / 415 MB, free: 10.55 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003952/0.01082, allocations: 256.1 kB / 415.3 MB, free: 10.25 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.647e-05/0.01089, allocations: 96.42 kB / 415.4 MB, free: 10.14 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.906e-05/0.01092, allocations: 20.44 kB / 415.4 MB, free: 10.12 MB / 394.7 MB Notification: Performance of SimCode: time 4.1e-07/0.01092, allocations: 0 / 415.4 MB, free: 10.12 MB / 394.7 MB Notification: Performance of Templates: time 0.003448/0.01436, allocations: 1.957 MB / 417.3 MB, free: 8.16 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.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.57592620048672]