Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.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.00227/0.00227, allocations: 92.97 kB / 20.21 MB, free: 4.215 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.00288/0.00288, allocations: 169.2 kB / 23.52 MB, free: 0.9023 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 1.544/1.544, allocations: 158.6 MB / 185.3 MB, free: 2.914 MB / 170.7 MB " [Timeout remaining time 178] 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.2509/0.2509, allocations: 32.37 MB / 270 MB, free: 14.79 MB / 266.7 MB " [Timeout remaining time 179] 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.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.474e-06/2.474e-06, allocations: 3.984 kB / 347 MB, free: 9.742 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.889e-05/3.136e-05, allocations: 2.312 kB / 347 MB, free: 9.738 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.00251/0.002541, allocations: 1.789 MB / 348.8 MB, free: 7.938 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001267/0.003808, allocations: 0.8505 MB / 349.6 MB, free: 7.078 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.639e-05/0.003894, allocations: 4 kB / 349.7 MB, free: 7.074 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005129/0.004407, allocations: 311.1 kB / 350 MB, free: 6.77 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003291/0.004736, allocations: 215.2 kB / 350.2 MB, free: 6.559 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002841/0.005021, allocations: 139.6 kB / 350.3 MB, free: 6.422 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002388/0.005259, allocations: 251.2 kB / 350.5 MB, free: 6.176 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.773e-05/0.005307, allocations: 9.812 kB / 350.6 MB, free: 6.168 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001848/0.005492, allocations: 151.6 kB / 350.7 MB, free: 6.02 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001939/0.005686, allocations: 199.6 kB / 350.9 MB, free: 5.824 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.146e-05/0.005717, allocations: 8 kB / 350.9 MB, free: 5.816 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.839e-05/0.005816, allocations: 47.92 kB / 351 MB, free: 5.77 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001248/0.00594, allocations: 143.6 kB / 351.1 MB, free: 5.629 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.538e-05/0.006026, allocations: 75.64 kB / 351.2 MB, free: 5.555 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003284/0.006354, allocations: 346.8 kB / 351.5 MB, free: 5.215 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.006358, allocations: 0 / 351.5 MB, free: 5.215 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.006359, allocations: 0 / 351.5 MB, free: 5.215 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.61e-05/0.006375, allocations: 0 / 351.5 MB, free: 5.215 MB / 282.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.0009071/0.007282, allocations: 0.8017 MB / 352.3 MB, free: 4.375 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.007329, allocations: 8.031 kB / 352.3 MB, free: 4.367 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001117/0.007441, allocations: 60.55 kB / 352.4 MB, free: 4.309 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004107/0.007851, allocations: 328.7 kB / 352.7 MB, free: 3.961 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.896e-05/0.00787, allocations: 8.375 kB / 352.7 MB, free: 3.953 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.376e-05/0.007884, allocations: 384 / 352.7 MB, free: 3.953 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001778/0.008062, allocations: 85.59 kB / 352.8 MB, free: 3.855 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.008074, allocations: 3.938 kB / 352.8 MB, free: 3.852 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.008089, allocations: 7.984 kB / 352.8 MB, free: 3.844 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.249e-06/0.008094, allocations: 0 / 352.8 MB, free: 3.844 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.648e-05/0.008191, allocations: 27.92 kB / 352.8 MB, free: 3.816 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003338/0.008525, allocations: 348.2 kB / 353.2 MB, free: 3.438 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002286/0.008753, allocations: 122.1 kB / 353.3 MB, free: 3.293 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.169e-05/0.008825, allocations: 39.36 kB / 353.3 MB, free: 3.246 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.806e-05/0.008843, allocations: 0 / 353.3 MB, free: 3.246 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000179/0.009022, allocations: 128.3 kB / 353.5 MB, free: 3.098 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 1.082e-06/0.009023, allocations: 0 / 353.5 MB, free: 3.098 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004242/0.009447, allocations: 193.2 kB / 353.6 MB, free: 2.902 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.676e-05/0.009474, allocations: 81.11 kB / 353.7 MB, free: 2.805 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005615/0.01004, allocations: 0.7565 MB / 354.5 MB, free: 2.031 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.251e-05/0.01005, allocations: 29.7 kB / 354.5 MB, free: 1.996 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001569/0.01021, allocations: 322.8 kB / 354.8 MB, free: 1.676 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.92e-05/0.01025, allocations: 31.75 kB / 354.9 MB, free: 1.645 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.639e-05/0.0103, allocations: 39.36 kB / 354.9 MB, free: 1.598 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.01044, allocations: 0.5782 MB / 355.5 MB, free: 1.008 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.753e-05/0.01051, allocations: 27.98 kB / 355.5 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.22e-05/0.01058, allocations: 62.73 kB / 355.6 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001317/0.01071, allocations: 91.17 kB / 355.6 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.01071, allocations: 0 / 355.6 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002727/0.01099, allocations: 177.2 kB / 355.8 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.01101, allocations: 12.05 kB / 355.8 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.01101, allocations: 3.938 kB / 355.8 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.01103, allocations: 4 kB / 355.8 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001025/0.01113, allocations: 16 kB / 355.9 MB, free: 0.582 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.01114, allocations: 0 / 355.9 MB, free: 0.582 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.957e-05/0.01124, allocations: 15.94 kB / 355.9 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.819e-06/0.01125, allocations: 4 kB / 355.9 MB, free: 0.5625 MB / 282.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.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 9.241e-05/0.01134, allocations: 176.4 kB / 356 MB, free: 388 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.231e-05/0.01139, allocations: 63.66 kB / 356.1 MB, free: 324 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002832/0.01168, allocations: 185.6 kB / 356.3 MB, free: 128 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.01168, allocations: 0 / 356.3 MB, free: 128 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.01168, allocations: 0 / 356.3 MB, free: 128 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.01169, allocations: 0 / 356.3 MB, free: 128 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004175/0.0121, allocations: 356.5 kB / 356.6 MB, free: 15.74 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.01211, allocations: 0 / 356.6 MB, free: 15.74 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.728e-05/0.01216, allocations: 8 kB / 356.6 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.01217, allocations: 4 kB / 356.7 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.01218, allocations: 3.938 kB / 356.7 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.01218, allocations: 3.938 kB / 356.7 MB, free: 15.72 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.01219, allocations: 4 kB / 356.7 MB, free: 15.72 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005566/0.01274, allocations: 239.8 kB / 356.9 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001556/0.0129, allocations: 59.66 kB / 357 MB, free: 15.4 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.244e-05/0.01295, allocations: 8 kB / 357 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.01306, allocations: 3.938 kB / 357 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.715e-05/0.01312, allocations: 11.98 kB / 357 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.435e-05/0.01315, allocations: 11.98 kB / 357 MB, free: 15.36 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0006213/0.01377, allocations: 498.8 kB / 357.5 MB, free: 14.88 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01377, allocations: 0 / 357.5 MB, free: 14.88 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002681/0.01404, allocations: 43.94 kB / 357.5 MB, free: 14.84 MB / 298.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,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.003007/0.01705, allocations: 442.7 kB / 358 MB, free: 14.5 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002847/0.01733, allocations: 87.7 kB / 358 MB, free: 14.41 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.01733, allocations: 0 / 358 MB, free: 14.41 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001254/0.01746, allocations: 55.73 kB / 358.1 MB, free: 14.36 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000465/0.01792, allocations: 79.56 kB / 358.2 MB, free: 14.29 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001234/0.01916, allocations: 0.6668 MB / 358.8 MB, free: 13.58 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002883/0.01944, allocations: 233.7 kB / 359.1 MB, free: 13.34 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001023/0.01955, allocations: 42.92 kB / 359.1 MB, free: 13.29 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.84e-05/0.01962, allocations: 28.5 kB / 359.1 MB, free: 13.27 MB / 298.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01963, allocations: 0 / 359.1 MB, free: 13.27 MB / 298.7 MB Notification: Performance of Templates: time 0.01057/0.03019, allocations: 3.968 MB / 363.1 MB, free: 9.309 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.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.327576731913723]