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.001886/0.001886, allocations: 88.23 kB / 20.21 MB, free: 4.23 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.002615/0.002615, allocations: 157.7 kB / 23.51 MB, free: 0.9258 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.615/1.615, allocations: 158.6 MB / 185.3 MB, free: 2.926 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.2219/0.2219, allocations: 32.37 MB / 270 MB, free: 14.79 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.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 1.333e-06/1.333e-06, allocations: 0 / 347 MB, free: 9.746 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.048e-05/2.181e-05, allocations: 2.312 kB / 347 MB, free: 9.742 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.002174/0.002196, allocations: 1.759 MB / 348.8 MB, free: 7.973 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00111/0.003307, allocations: 0.8505 MB / 349.6 MB, free: 7.113 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.893e-05/0.003375, allocations: 0 / 349.6 MB, free: 7.113 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004255/0.003801, allocations: 319.1 kB / 349.9 MB, free: 6.801 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003046/0.004106, allocations: 207.3 kB / 350.1 MB, free: 6.598 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002675/0.004373, allocations: 139.6 kB / 350.3 MB, free: 6.461 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002058/0.004579, allocations: 255.2 kB / 350.5 MB, free: 6.211 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.609e-05/0.004615, allocations: 9.797 kB / 350.5 MB, free: 6.203 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001461/0.004761, allocations: 143.6 kB / 350.7 MB, free: 6.062 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001844/0.004945, allocations: 207.6 kB / 350.9 MB, free: 5.859 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.743e-05/0.004973, allocations: 8 kB / 350.9 MB, free: 5.852 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.558e-05/0.005058, allocations: 51.92 kB / 350.9 MB, free: 5.801 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.567e-05/0.005154, allocations: 127.6 kB / 351 MB, free: 5.676 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.782e-05/0.005232, allocations: 79.64 kB / 351.1 MB, free: 5.598 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002719/0.005504, allocations: 350.7 kB / 351.5 MB, free: 5.254 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.005506, allocations: 0 / 351.5 MB, free: 5.254 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.005507, allocations: 0 / 351.5 MB, free: 5.254 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.189e-06/0.005512, allocations: 0 / 351.5 MB, free: 5.254 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.0007021/0.006214, allocations: 0.6592 MB / 352.1 MB, free: 4.562 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.092e-05/0.006245, allocations: 8.031 kB / 352.1 MB, free: 4.555 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.226e-05/0.006327, allocations: 60.56 kB / 352.2 MB, free: 4.496 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004146/0.006742, allocations: 393.8 kB / 352.6 MB, free: 4.086 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.006758, allocations: 384 / 352.6 MB, free: 4.086 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.267e-05/0.00677, allocations: 4.375 kB / 352.6 MB, free: 4.082 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001828/0.006953, allocations: 87.92 kB / 352.7 MB, free: 3.984 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.006963, allocations: 3.938 kB / 352.7 MB, free: 3.98 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.006975, allocations: 0 / 352.7 MB, free: 3.98 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.006979, allocations: 0 / 352.7 MB, free: 3.98 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000109/0.007088, allocations: 39.91 kB / 352.7 MB, free: 3.941 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002524/0.00734, allocations: 306 kB / 353 MB, free: 3.609 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002317/0.007572, allocations: 105.2 kB / 353.1 MB, free: 3.488 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.538e-05/0.007657, allocations: 41.69 kB / 353.2 MB, free: 3.441 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.69e-05/0.007674, allocations: 3.938 kB / 353.2 MB, free: 3.438 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001942/0.007868, allocations: 117 kB / 353.3 MB, free: 3.305 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 1.062e-06/0.007869, allocations: 0 / 353.3 MB, free: 3.305 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004264/0.008296, allocations: 213.2 kB / 353.5 MB, free: 3.09 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.633e-05/0.008322, allocations: 81.11 kB / 353.6 MB, free: 2.992 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007453/0.009067, allocations: 1.046 MB / 354.6 MB, free: 1.934 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.15e-05/0.009079, allocations: 29.7 kB / 354.6 MB, free: 1.898 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.009185, allocations: 232.1 kB / 354.9 MB, free: 1.668 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.48e-05/0.00922, allocations: 39.67 kB / 354.9 MB, free: 1.629 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.884e-05/0.009258, allocations: 21.72 kB / 354.9 MB, free: 1.602 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.82e-05/0.009327, allocations: 370.8 kB / 355.3 MB, free: 1.23 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.877e-05/0.009405, allocations: 27.98 kB / 355.3 MB, free: 1.203 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.799e-05/0.009483, allocations: 65.66 kB / 355.4 MB, free: 1.129 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001485/0.009632, allocations: 95.84 kB / 355.5 MB, free: 1.023 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.009634, allocations: 4 kB / 355.5 MB, free: 1.02 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002674/0.009902, allocations: 177.3 kB / 355.6 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.009916, allocations: 4 kB / 355.6 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.009925, allocations: 7.938 kB / 355.7 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.409e-05/0.009949, allocations: 0 / 355.7 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001185/0.01007, allocations: 23.92 kB / 355.7 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.01008, allocations: 4.062 kB / 355.7 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.447e-05/0.01017, allocations: 15.95 kB / 355.7 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.01018, allocations: 4 kB / 355.7 MB, free: 0.7812 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.0001553/0.01034, allocations: 221.6 kB / 355.9 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.792e-05/0.01039, allocations: 55.67 kB / 356 MB, free: 0.5 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003497/0.01074, allocations: 209.6 kB / 356.2 MB, free: 292 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.01075, allocations: 4 kB / 356.2 MB, free: 288 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.01076, allocations: 3.984 kB / 356.2 MB, free: 284 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.01076, allocations: 0 / 356.2 MB, free: 284 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002465/0.01101, allocations: 265.2 kB / 356.4 MB, free: 15.99 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.01101, allocations: 0 / 356.4 MB, free: 15.99 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.513e-05/0.01106, allocations: 15.94 kB / 356.5 MB, free: 15.97 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.551e-06/0.01107, allocations: 3.984 kB / 356.5 MB, free: 15.97 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.01108, allocations: 3.938 kB / 356.5 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.01108, allocations: 7.938 kB / 356.5 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.01109, allocations: 256 / 356.5 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004459/0.01153, allocations: 229.5 kB / 356.7 MB, free: 15.71 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001444/0.01168, allocations: 63.66 kB / 356.8 MB, free: 15.65 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.624e-05/0.01172, allocations: 0 / 356.8 MB, free: 15.65 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.915e-05/0.01182, allocations: 15.94 kB / 356.8 MB, free: 15.63 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.695e-05/0.01189, allocations: 7.984 kB / 356.8 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.611e-05/0.01191, allocations: 7.984 kB / 356.8 MB, free: 15.62 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001018/0.01293, allocations: 0.7838 MB / 357.6 MB, free: 14.84 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01293, allocations: 0 / 357.6 MB, free: 14.84 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002972/0.01323, allocations: 43.94 kB / 357.6 MB, free: 14.79 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.002057/0.01529, allocations: 440.4 kB / 358 MB, free: 14.47 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003156/0.0156, allocations: 87.95 kB / 358.1 MB, free: 14.38 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.0156, allocations: 4.062 kB / 358.1 MB, free: 14.38 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001227/0.01573, allocations: 39.92 kB / 358.2 MB, free: 14.34 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004756/0.0162, allocations: 79.8 kB / 358.3 MB, free: 14.27 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001479/0.01768, allocations: 0.9005 MB / 359.2 MB, free: 13.33 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002905/0.01797, allocations: 233.8 kB / 359.4 MB, free: 13.09 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001298/0.0181, allocations: 58.94 kB / 359.4 MB, free: 13.03 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.157e-05/0.01818, allocations: 32.5 kB / 359.5 MB, free: 13 MB / 298.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01818, allocations: 0 / 359.5 MB, free: 13 MB / 298.7 MB Notification: Performance of Templates: time 0.009873/0.02806, allocations: 4.011 MB / 363.5 MB, free: 8.996 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) [Timeout 480] 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.061233785003424]