Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.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.001432/0.001432, allocations: 82.42 kB / 20.68 MB, free: 1.035 MB / 14.72 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.00145/0.00145, allocations: 163.6 kB / 23.96 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.508/1.508, allocations: 177.1 MB / 204.3 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2185/0.2185, allocations: 34.27 MB / 294.9 MB, free: 14.57 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.354e-06/2.354e-06, allocations: 0 / 442.7 MB, free: 5.332 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.81e-05/3.046e-05, allocations: 6.219 kB / 442.7 MB, free: 5.324 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.003176/0.003206, allocations: 1.807 MB / 444.6 MB, free: 3.508 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002033/0.005239, allocations: 1.045 MB / 445.6 MB, free: 2.457 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001147/0.005354, allocations: 3.938 kB / 445.6 MB, free: 2.453 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000589/0.005943, allocations: 299.1 kB / 445.9 MB, free: 2.16 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000578/0.006521, allocations: 255.1 kB / 446.1 MB, free: 1.91 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003239/0.006844, allocations: 107.6 kB / 446.2 MB, free: 1.805 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004813/0.007326, allocations: 271.2 kB / 446.5 MB, free: 1.539 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.507e-05/0.007381, allocations: 5.812 kB / 446.5 MB, free: 1.535 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002989/0.00768, allocations: 155.6 kB / 446.7 MB, free: 1.383 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003148/0.007995, allocations: 200.1 kB / 446.9 MB, free: 1.188 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.04e-05/0.008035, allocations: 8 kB / 446.9 MB, free: 1.18 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001372/0.008172, allocations: 47.92 kB / 446.9 MB, free: 1.133 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001871/0.008359, allocations: 140.5 kB / 447.1 MB, free: 0.9961 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001164/0.008476, allocations: 71.66 kB / 447.1 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004832/0.008959, allocations: 350.7 kB / 447.5 MB, free: 0.582 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.008963, allocations: 0 / 447.5 MB, free: 0.582 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.008964, allocations: 0 / 447.5 MB, free: 0.582 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.057e-06/0.008973, allocations: 0 / 447.5 MB, free: 0.582 MB / 366.1 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.1872/0.1962, allocations: 0.6787 MB / 448.1 MB, free: 19.41 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.1962, allocations: 8.906 kB / 448.2 MB, free: 19.41 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001056/0.1963, allocations: 51.28 kB / 448.2 MB, free: 19.39 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005767/0.1969, allocations: 386 kB / 448.6 MB, free: 19.2 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/0.1969, allocations: 3.391 kB / 448.6 MB, free: 19.2 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.687e-05/0.1969, allocations: 4.562 kB / 448.6 MB, free: 19.2 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00022/0.1972, allocations: 85.17 kB / 448.7 MB, free: 19.15 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.1972, allocations: 0.9844 kB / 448.7 MB, free: 19.15 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.1972, allocations: 4.625 kB / 448.7 MB, free: 19.15 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.1972, allocations: 5.031 kB / 448.7 MB, free: 19.14 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001208/0.1973, allocations: 36.27 kB / 448.7 MB, free: 19.14 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003439/0.1977, allocations: 299.1 kB / 449 MB, free: 19.02 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002831/0.1979, allocations: 109 kB / 449.1 MB, free: 18.97 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.369e-05/0.198, allocations: 37.84 kB / 449.2 MB, free: 18.95 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.981e-05/0.1981, allocations: 2.109 kB / 449.2 MB, free: 18.95 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002175/0.1983, allocations: 119.1 kB / 449.3 MB, free: 18.86 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.273e-06/0.1983, allocations: 0 / 449.3 MB, free: 18.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005041/0.1988, allocations: 206.3 kB / 449.5 MB, free: 18.77 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.714e-05/0.1988, allocations: 87.7 kB / 449.6 MB, free: 18.67 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001105/0.1999, allocations: 1.032 MB / 450.6 MB, free: 18.32 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.165e-05/0.1999, allocations: 31.94 kB / 450.6 MB, free: 18.29 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001554/0.2001, allocations: 232.4 kB / 450.9 MB, free: 18.1 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.829e-05/0.2001, allocations: 30.64 kB / 450.9 MB, free: 18.08 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.629e-05/0.2002, allocations: 29.53 kB / 450.9 MB, free: 18.06 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.2003, allocations: 369.4 kB / 451.3 MB, free: 17.72 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.759e-05/0.2004, allocations: 33.16 kB / 451.3 MB, free: 17.71 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.567e-05/0.2005, allocations: 57.59 kB / 451.4 MB, free: 17.68 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001863/0.2007, allocations: 101.1 kB / 451.5 MB, free: 17.61 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.2007, allocations: 1.375 kB / 451.5 MB, free: 17.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003228/0.201, allocations: 169.6 kB / 451.6 MB, free: 17.53 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.291e-05/0.2011, allocations: 5.5 kB / 451.6 MB, free: 17.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.2011, allocations: 5.078 kB / 451.6 MB, free: 17.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.54e-05/0.2011, allocations: 2.75 kB / 451.6 MB, free: 17.53 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001447/0.2012, allocations: 23.53 kB / 451.7 MB, free: 17.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.2012, allocations: 6.688 kB / 451.7 MB, free: 17.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001107/0.2014, allocations: 16.02 kB / 451.7 MB, free: 17.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.224e-05/0.2014, allocations: 7.547 kB / 451.7 MB, free: 17.51 MB / 366.1 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.0002005/0.2016, allocations: 220.2 kB / 451.9 MB, free: 17.38 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.864e-05/0.2016, allocations: 52.5 kB / 452 MB, free: 17.35 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004358/0.2021, allocations: 205 kB / 452.2 MB, free: 17.26 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.2021, allocations: 1.75 kB / 452.2 MB, free: 17.26 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/0.2021, allocations: 5.531 kB / 452.2 MB, free: 17.26 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.2021, allocations: 1.891 kB / 452.2 MB, free: 17.26 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003156/0.2024, allocations: 269.2 kB / 452.4 MB, free: 17.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.2024, allocations: 2.625 kB / 452.4 MB, free: 17.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.734e-05/0.2024, allocations: 16.52 kB / 452.4 MB, free: 17.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.2024, allocations: 1.125 kB / 452.4 MB, free: 17.09 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.2025, allocations: 6.672 kB / 452.5 MB, free: 17.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.2025, allocations: 1.156 kB / 452.5 MB, free: 17.09 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.2025, allocations: 1.219 kB / 452.5 MB, free: 17.09 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003514/0.2028, allocations: 227.5 kB / 452.7 MB, free: 16.95 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001019/0.2029, allocations: 61.38 kB / 452.7 MB, free: 16.92 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.375e-05/0.203, allocations: 3.641 kB / 452.7 MB, free: 16.92 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.083e-05/0.2031, allocations: 10.34 kB / 452.8 MB, free: 16.92 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.315e-05/0.2031, allocations: 10.73 kB / 452.8 MB, free: 16.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.17e-05/0.2031, allocations: 6.781 kB / 452.8 MB, free: 16.91 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008496/0.204, allocations: 0.7776 MB / 453.5 MB, free: 16.64 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.204, allocations: 0 / 453.5 MB, free: 16.64 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002909/0.2043, allocations: 46.31 kB / 453.6 MB, free: 16.64 MB / 366.1 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.001614/0.2059, allocations: 442.2 kB / 454 MB, free: 16.48 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002944/0.2062, allocations: 83.94 kB / 454.1 MB, free: 16.45 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.2062, allocations: 0 / 454.1 MB, free: 16.45 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001117/0.2063, allocations: 43.44 kB / 454.1 MB, free: 16.44 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004468/0.2067, allocations: 77.23 kB / 454.2 MB, free: 16.42 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00116/0.2079, allocations: 0.8761 MB / 455.1 MB, free: 16.02 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002415/0.2081, allocations: 242.5 kB / 455.3 MB, free: 15.93 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001209/0.2083, allocations: 59.42 kB / 455.4 MB, free: 15.91 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.764e-05/0.2083, allocations: 34.12 kB / 455.4 MB, free: 15.9 MB / 366.1 MB Notification: Performance of SimCode: time 1.203e-06/0.2083, allocations: 3.938 kB / 455.4 MB, free: 15.9 MB / 366.1 MB Notification: Performance of Templates: time 0.0125/0.2208, allocations: 3.966 MB / 459.4 MB, free: 15.38 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.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: 5.052719488739967]