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.000888/0.000888, allocations: 88.2 kB / 20.94 MB, free: 3.609 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.0009962/0.0009962, allocations: 169.3 kB / 24.24 MB, free: 316 kB / 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.08/1.08, allocations: 158.6 MB / 186 MB, free: 2.93 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.1382/0.1382, allocations: 32.37 MB / 270.7 MB, free: 14.78 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.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",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.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.355e-06/2.355e-06, allocations: 3.938 kB / 347.7 MB, free: 9.715 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.391e-05/3.627e-05, allocations: 2.312 kB / 347.7 MB, free: 9.711 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.003089/0.003125, allocations: 1.81 MB / 349.6 MB, free: 7.891 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001003/0.004128, allocations: 0.8661 MB / 350.4 MB, free: 7.016 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001144/0.004242, allocations: 4 kB / 350.4 MB, free: 7.012 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006173/0.004859, allocations: 315.1 kB / 350.7 MB, free: 6.703 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004375/0.005297, allocations: 211.2 kB / 350.9 MB, free: 6.496 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003902/0.005687, allocations: 131.6 kB / 351.1 MB, free: 6.367 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003512/0.006038, allocations: 251.2 kB / 351.3 MB, free: 6.121 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.733e-05/0.006106, allocations: 13.8 kB / 351.3 MB, free: 6.109 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002286/0.006334, allocations: 151.6 kB / 351.5 MB, free: 5.961 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002561/0.00659, allocations: 207.6 kB / 351.7 MB, free: 5.758 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.205e-05/0.006622, allocations: 4 kB / 351.7 MB, free: 5.754 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001108/0.006733, allocations: 51.92 kB / 351.7 MB, free: 5.703 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001381/0.006871, allocations: 135.6 kB / 351.9 MB, free: 5.57 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001033/0.006975, allocations: 75.66 kB / 351.9 MB, free: 5.496 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003851/0.00736, allocations: 270.9 kB / 352.2 MB, free: 5.23 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.007365, allocations: 0 / 352.2 MB, free: 5.23 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.007367, allocations: 4 kB / 352.2 MB, free: 5.227 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.538e-06/0.007377, allocations: 0 / 352.2 MB, free: 5.227 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.000929/0.008306, allocations: 0.7708 MB / 353 MB, free: 4.418 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/0.008357, allocations: 8.031 kB / 353 MB, free: 4.41 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001295/0.008486, allocations: 60.56 kB / 353 MB, free: 4.352 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004522/0.008938, allocations: 332.6 kB / 353.4 MB, free: 4 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.554e-05/0.008974, allocations: 384 / 353.4 MB, free: 4 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.008993, allocations: 12.3 kB / 353.4 MB, free: 3.988 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002287/0.009221, allocations: 94.3 kB / 353.5 MB, free: 3.879 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.009232, allocations: 3.938 kB / 353.5 MB, free: 3.875 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.009246, allocations: 0 / 353.5 MB, free: 3.875 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.103e-05/0.009257, allocations: 0 / 353.5 MB, free: 3.875 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.261e-05/0.009329, allocations: 19.97 kB / 353.5 MB, free: 3.855 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003727/0.009702, allocations: 320.2 kB / 353.8 MB, free: 3.504 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002097/0.009912, allocations: 98.22 kB / 353.9 MB, free: 3.383 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.384e-05/0.009976, allocations: 35.34 kB / 353.9 MB, free: 3.34 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.819e-05/0.009994, allocations: 0 / 353.9 MB, free: 3.34 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001856/0.01018, allocations: 116.3 kB / 354.1 MB, free: 3.203 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 1.453e-06/0.01018, allocations: 0 / 354.1 MB, free: 3.203 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003879/0.01057, allocations: 173.2 kB / 354.2 MB, free: 3.027 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.68e-05/0.01062, allocations: 85.09 kB / 354.3 MB, free: 2.926 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007236/0.01134, allocations: 0.698 MB / 355 MB, free: 2.211 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.01136, allocations: 29.7 kB / 355 MB, free: 2.176 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001883/0.01155, allocations: 302.8 kB / 355.3 MB, free: 1.875 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.519e-05/0.0116, allocations: 27.75 kB / 355.4 MB, free: 1.848 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.512e-05/0.01166, allocations: 35.36 kB / 355.4 MB, free: 1.805 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.0118, allocations: 0.5587 MB / 355.9 MB, free: 1.234 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.19e-05/0.01185, allocations: 19.92 kB / 356 MB, free: 1.215 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.288e-05/0.01192, allocations: 57.73 kB / 356 MB, free: 1.145 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001093/0.01203, allocations: 83.17 kB / 356.1 MB, free: 1.047 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.01203, allocations: 4 kB / 356.1 MB, free: 1.043 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000222/0.01225, allocations: 149.3 kB / 356.3 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.01227, allocations: 4 kB / 356.3 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/0.01228, allocations: 3.938 kB / 356.3 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/0.0123, allocations: 4 kB / 356.3 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.01243, allocations: 23.92 kB / 356.3 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.01244, allocations: 0 / 356.3 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.865e-05/0.01253, allocations: 19.89 kB / 356.3 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.01254, allocations: 8.062 kB / 356.3 MB, free: 0.8281 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 0.0001017/0.01264, allocations: 168.4 kB / 356.5 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.384e-05/0.0127, allocations: 55.66 kB / 356.5 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002913/0.01299, allocations: 165.7 kB / 356.7 MB, free: 436 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.013, allocations: 4 kB / 356.7 MB, free: 432 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.013, allocations: 0 / 356.7 MB, free: 432 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.01301, allocations: 0 / 356.7 MB, free: 432 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002785/0.01329, allocations: 312.5 kB / 357 MB, free: 84 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.01329, allocations: 0 / 357 MB, free: 84 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.446e-05/0.01335, allocations: 12.23 kB / 357 MB, free: 72 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.01335, allocations: 4 kB / 357 MB, free: 68 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.01336, allocations: 11.94 kB / 357 MB, free: 56 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.01337, allocations: 3.938 kB / 357 MB, free: 52 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.01337, allocations: 0 / 357 MB, free: 52 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003076/0.01368, allocations: 211.7 kB / 357.2 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/0.01378, allocations: 63.66 kB / 357.3 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.692e-05/0.01382, allocations: 0 / 357.3 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.037e-05/0.01391, allocations: 11.92 kB / 357.3 MB, free: 15.74 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.048e-05/0.01398, allocations: 15.92 kB / 357.3 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.258e-05/0.014, allocations: 4 kB / 357.3 MB, free: 15.72 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005295/0.01453, allocations: 482.8 kB / 357.8 MB, free: 15.25 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.01453, allocations: 0 / 357.8 MB, free: 15.25 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002923/0.01482, allocations: 47.92 kB / 357.9 MB, free: 15.21 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.001326/0.01615, allocations: 393.7 kB / 358.2 MB, free: 14.91 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002049/0.01635, allocations: 67.59 kB / 358.3 MB, free: 14.84 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.01635, allocations: 0 / 358.3 MB, free: 14.84 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.71e-05/0.01644, allocations: 43.59 kB / 358.4 MB, free: 14.79 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000503/0.01694, allocations: 82.66 kB / 358.4 MB, free: 14.72 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001221/0.01816, allocations: 0.6589 MB / 359.1 MB, free: 14.02 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001077/0.01827, allocations: 128.2 kB / 359.2 MB, free: 13.88 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001008/0.01837, allocations: 43.45 kB / 359.3 MB, free: 13.84 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.386e-05/0.01845, allocations: 32.48 kB / 359.3 MB, free: 13.8 MB / 298.7 MB Notification: Performance of SimCode: time 1.723e-06/0.01845, allocations: 0 / 359.3 MB, free: 13.8 MB / 298.7 MB Notification: Performance of Templates: time 0.00741/0.02586, allocations: 4.006 MB / 363.3 MB, free: 9.816 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.317396000958979]