Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.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.0007937/0.0007937, allocations: 84.44 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.0007736/0.0007736, allocations: 169.9 kB / 23.96 MB, free: 0.6016 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.8216/0.8216, 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.1348/0.1348, allocations: 32.36 MB / 270.4 MB, free: 14.98 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.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 408.2 MB, free: 1.68 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.052e-05/3.205e-05, allocations: 10.02 kB / 408.2 MB, free: 1.672 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.002116/0.002148, allocations: 1.758 MB / 409.9 MB, free: 15.9 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001406/0.003554, allocations: 1.532 MB / 411.5 MB, free: 14.36 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.641e-05/0.003631, allocations: 0 / 411.5 MB, free: 14.36 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003067/0.003937, allocations: 59.62 kB / 411.5 MB, free: 14.3 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002691/0.004206, allocations: 103.4 kB / 411.6 MB, free: 14.2 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002333/0.00444, allocations: 139.6 kB / 411.8 MB, free: 14.06 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001972/0.004637, allocations: 187.3 kB / 411.9 MB, free: 13.88 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.708e-05/0.004684, allocations: 13.73 kB / 412 MB, free: 13.86 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001086/0.004793, allocations: 95.73 kB / 412.1 MB, free: 13.77 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001148/0.004908, allocations: 55.81 kB / 412.1 MB, free: 13.71 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.336e-05/0.004931, allocations: 8 kB / 412.1 MB, free: 13.7 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001053/0.005036, allocations: 67.84 kB / 412.2 MB, free: 13.64 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 6.444e-05/0.005101, allocations: 35.84 kB / 412.2 MB, free: 13.6 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 4.584e-05/0.005147, allocations: 31.86 kB / 412.2 MB, free: 13.57 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002209/0.005368, allocations: 183.4 kB / 412.4 MB, free: 13.39 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.005372, allocations: 0 / 412.4 MB, free: 13.39 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.005373, allocations: 0 / 412.4 MB, free: 13.39 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.005378, allocations: 4 kB / 412.4 MB, free: 13.39 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.0004638/0.005842, allocations: 397.2 kB / 412.8 MB, free: 12.97 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.005877, allocations: 8.031 kB / 412.8 MB, free: 12.96 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.643e-05/0.005923, allocations: 20.78 kB / 412.8 MB, free: 12.94 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005225/0.006446, allocations: 181.2 kB / 413 MB, free: 12.74 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.006459, allocations: 384 / 413 MB, free: 12.74 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.427e-05/0.006473, allocations: 16.36 kB / 413 MB, free: 12.72 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001861/0.006659, allocations: 149 kB / 413.2 MB, free: 12.55 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.006668, allocations: 3.938 kB / 413.2 MB, free: 12.54 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.00668, allocations: 7.938 kB / 413.2 MB, free: 12.54 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.006686, allocations: 0 / 413.2 MB, free: 12.54 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.122e-05/0.006757, allocations: 39.91 kB / 413.2 MB, free: 12.5 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001567/0.006914, allocations: 154.2 kB / 413.4 MB, free: 12.31 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001688/0.007083, allocations: 105.2 kB / 413.5 MB, free: 12.19 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.398e-05/0.007137, allocations: 45.69 kB / 413.5 MB, free: 12.14 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.555e-05/0.007152, allocations: 0 / 413.5 MB, free: 12.14 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000159/0.007311, allocations: 109 kB / 413.6 MB, free: 12.02 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 8.72e-07/0.007312, allocations: 0 / 413.6 MB, free: 12.02 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003054/0.007618, allocations: 177.4 kB / 413.8 MB, free: 11.84 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.501e-05/0.007673, allocations: 132.5 kB / 413.9 MB, free: 11.68 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001626/0.007835, allocations: 227.8 kB / 414.2 MB, free: 11.44 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.00785, allocations: 33.7 kB / 414.2 MB, free: 11.4 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.986e-05/0.0079, allocations: 112.1 kB / 414.3 MB, free: 11.29 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.315e-05/0.007933, allocations: 23.81 kB / 414.3 MB, free: 11.27 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.805e-05/0.007971, allocations: 29.7 kB / 414.4 MB, free: 11.23 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.155e-05/0.008052, allocations: 326.8 kB / 414.7 MB, free: 10.9 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.391e-05/0.008106, allocations: 31.98 kB / 414.7 MB, free: 10.87 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.82e-05/0.008185, allocations: 120.5 kB / 414.8 MB, free: 10.72 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001138/0.008298, allocations: 95.34 kB / 414.9 MB, free: 10.62 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.008301, allocations: 4.031 kB / 414.9 MB, free: 10.61 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000164/0.008465, allocations: 138 kB / 415.1 MB, free: 10.47 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.00848, allocations: 4 kB / 415.1 MB, free: 10.47 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.008487, allocations: 4.062 kB / 415.1 MB, free: 10.46 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.008502, allocations: 4 kB / 415.1 MB, free: 10.46 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.228e-05/0.008584, allocations: 31.92 kB / 415.1 MB, free: 10.43 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.008589, allocations: 0 / 415.1 MB, free: 10.43 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.726e-05/0.008637, allocations: 15.89 kB / 415.1 MB, free: 10.41 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-06/0.008644, allocations: 4 kB / 415.1 MB, free: 10.41 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.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (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 8.636e-05/0.008731, allocations: 137.8 kB / 415.3 MB, free: 10.27 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.929e-05/0.00875, allocations: 23.84 kB / 415.3 MB, free: 10.24 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002244/0.008974, allocations: 162.7 kB / 415.4 MB, free: 10.07 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.008978, allocations: 4 kB / 415.4 MB, free: 10.07 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.008983, allocations: 0 / 415.4 MB, free: 10.07 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.008986, allocations: 0 / 415.4 MB, free: 10.07 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001132/0.0091, allocations: 161.2 kB / 415.6 MB, free: 9.883 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.009101, allocations: 3.938 kB / 415.6 MB, free: 9.879 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.491e-05/0.009126, allocations: 11.94 kB / 415.6 MB, free: 9.867 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.009129, allocations: 4 kB / 415.6 MB, free: 9.863 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.00914, allocations: 4 kB / 415.6 MB, free: 9.859 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.009142, allocations: 3.938 kB / 415.6 MB, free: 9.855 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.009144, allocations: 0 / 415.6 MB, free: 9.855 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001728/0.009316, allocations: 181.8 kB / 415.8 MB, free: 9.656 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.928e-05/0.009336, allocations: 15.84 kB / 415.8 MB, free: 9.641 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.1e-05/0.009357, allocations: 11.98 kB / 415.8 MB, free: 9.629 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.196e-05/0.009389, allocations: 7.938 kB / 415.8 MB, free: 9.621 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.772e-05/0.009426, allocations: 15.92 kB / 415.9 MB, free: 9.605 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.532e-05/0.009442, allocations: 4 kB / 415.9 MB, free: 9.602 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001019/0.009544, allocations: 173.5 kB / 416 MB, free: 9.434 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009544, allocations: 0 / 416 MB, free: 9.434 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000188/0.009732, allocations: 39.92 kB / 416.1 MB, free: 9.395 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,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.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.0007565/0.01049, allocations: 485.4 kB / 416.5 MB, free: 8.949 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001818/0.01067, allocations: 84.02 kB / 416.6 MB, free: 8.867 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.01067, allocations: 4 kB / 416.6 MB, free: 8.863 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.003e-05/0.01073, allocations: 48.05 kB / 416.7 MB, free: 8.816 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002363/0.01097, allocations: 55.67 kB / 416.7 MB, free: 8.762 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004254/0.01139, allocations: 300.6 kB / 417 MB, free: 8.434 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.25e-05/0.01147, allocations: 118.3 kB / 417.1 MB, free: 8.301 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.397e-05/0.01152, allocations: 20.5 kB / 417.2 MB, free: 8.277 MB / 394.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01152, allocations: 3.938 kB / 417.2 MB, free: 8.273 MB / 394.7 MB Notification: Performance of Templates: time 0.003929/0.01545, allocations: 2.797 MB / 420 MB, free: 5.473 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.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.834911844693124]