Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.001325/0.001325, allocations: 84.7 kB / 20.68 MB, free: 1.023 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.001429/0.001429, allocations: 164.4 kB / 23.95 MB, free: 4.156 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.378/1.378, allocations: 177.2 MB / 204.3 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1993/0.1993, allocations: 32.81 MB / 293.5 MB, free: 20 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0 / 440.2 MB, free: 8.066 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.624e-05/3.845e-05, allocations: 2.281 kB / 440.2 MB, free: 8.062 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.00408/0.004119, allocations: 1.784 MB / 442 MB, free: 6.27 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002309/0.006428, allocations: 1.045 MB / 443 MB, free: 5.219 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001416/0.00657, allocations: 0 / 443 MB, free: 5.219 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005995/0.007169, allocations: 315.1 kB / 443.3 MB, free: 4.91 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006285/0.007798, allocations: 259 kB / 443.6 MB, free: 4.656 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003299/0.008128, allocations: 107.6 kB / 443.7 MB, free: 4.551 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004677/0.008595, allocations: 275.2 kB / 443.9 MB, free: 4.281 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.384e-05/0.008659, allocations: 9.75 kB / 443.9 MB, free: 4.273 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003001/0.008959, allocations: 155.6 kB / 444.1 MB, free: 4.121 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003145/0.009274, allocations: 207.6 kB / 444.3 MB, free: 3.918 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.049e-05/0.009314, allocations: 8 kB / 444.3 MB, free: 3.91 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001376/0.009452, allocations: 47.92 kB / 444.4 MB, free: 3.863 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001705/0.009622, allocations: 139.6 kB / 444.5 MB, free: 3.727 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001244/0.009747, allocations: 75.66 kB / 444.6 MB, free: 3.652 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005045/0.01025, allocations: 350.7 kB / 444.9 MB, free: 3.309 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.01026, allocations: 4 kB / 444.9 MB, free: 3.305 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.01026, allocations: 0 / 444.9 MB, free: 3.305 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.04e-05/0.01028, allocations: 0 / 444.9 MB, free: 3.305 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.00121/0.01149, allocations: 0.6824 MB / 445.6 MB, free: 2.59 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.01153, allocations: 8.031 kB / 445.6 MB, free: 2.582 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001235/0.01165, allocations: 60.55 kB / 445.7 MB, free: 2.523 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006904/0.01234, allocations: 389.8 kB / 446 MB, free: 2.117 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.853e-05/0.01236, allocations: 4.375 kB / 446 MB, free: 2.113 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.183e-05/0.01239, allocations: 4.375 kB / 446.1 MB, free: 2.109 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002496/0.01263, allocations: 91.86 kB / 446.1 MB, free: 2.008 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.01265, allocations: 3.938 kB / 446.1 MB, free: 2.004 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.01266, allocations: 3.938 kB / 446.1 MB, free: 2 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.01267, allocations: 0 / 446.1 MB, free: 2 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001292/0.0128, allocations: 35.97 kB / 446.2 MB, free: 1.965 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004594/0.01326, allocations: 302.1 kB / 446.5 MB, free: 1.637 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000346/0.0136, allocations: 109.2 kB / 446.6 MB, free: 1.512 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001103/0.01371, allocations: 37.7 kB / 446.6 MB, free: 1.469 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.715e-05/0.01374, allocations: 7.984 kB / 446.6 MB, free: 1.461 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002709/0.01401, allocations: 113 kB / 446.7 MB, free: 1.332 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.823e-06/0.01401, allocations: 0 / 446.7 MB, free: 1.332 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005912/0.0146, allocations: 217.1 kB / 447 MB, free: 1.113 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.458e-05/0.01467, allocations: 85.11 kB / 447 MB, free: 1.012 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.192/0.2067, allocations: 1.057 MB / 448.1 MB, free: 21.46 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.63e-05/0.2067, allocations: 26.8 kB / 448.1 MB, free: 21.43 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001668/0.2069, allocations: 240.1 kB / 448.4 MB, free: 21.35 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.883e-05/0.2069, allocations: 31.28 kB / 448.4 MB, free: 21.35 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.806e-05/0.207, allocations: 27.89 kB / 448.4 MB, free: 21.33 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.583e-05/0.207, allocations: 372.1 kB / 448.8 MB, free: 21.02 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001112/0.2072, allocations: 30.89 kB / 448.8 MB, free: 21.02 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.27e-05/0.2072, allocations: 62.19 kB / 448.9 MB, free: 20.99 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001694/0.2074, allocations: 96.27 kB / 449 MB, free: 20.95 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.2074, allocations: 0 / 449 MB, free: 20.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003362/0.2078, allocations: 176.2 kB / 449.1 MB, free: 20.89 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.2078, allocations: 8.406 kB / 449.1 MB, free: 20.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.2078, allocations: 8.344 kB / 449.1 MB, free: 20.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.2078, allocations: 1.953 kB / 449.1 MB, free: 20.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001333/0.2079, allocations: 25.7 kB / 449.2 MB, free: 20.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.2079, allocations: 4.969 kB / 449.2 MB, free: 20.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001017/0.208, allocations: 14.77 kB / 449.2 MB, free: 20.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.175e-05/0.2081, allocations: 8.531 kB / 449.2 MB, free: 20.88 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.0001813/0.2082, allocations: 222 kB / 449.4 MB, free: 20.74 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.591e-05/0.2083, allocations: 55.05 kB / 449.5 MB, free: 20.71 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003663/0.2087, allocations: 208 kB / 449.7 MB, free: 20.62 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.2087, allocations: 2.281 kB / 449.7 MB, free: 20.62 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.2087, allocations: 0 / 449.7 MB, free: 20.62 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.2087, allocations: 1.797 kB / 449.7 MB, free: 20.62 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002456/0.2089, allocations: 274.4 kB / 449.9 MB, free: 20.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.2089, allocations: 1.688 kB / 449.9 MB, free: 20.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.402e-05/0.209, allocations: 10.92 kB / 450 MB, free: 20.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.209, allocations: 1.094 kB / 450 MB, free: 20.45 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.209, allocations: 5.172 kB / 450 MB, free: 20.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.209, allocations: 5.094 kB / 450 MB, free: 20.45 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.209, allocations: 0.6094 kB / 450 MB, free: 20.45 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003114/0.2093, allocations: 221.9 kB / 450.2 MB, free: 20.32 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.387e-05/0.2094, allocations: 71.27 kB / 450.3 MB, free: 20.28 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.789e-05/0.2094, allocations: 2.922 kB / 450.3 MB, free: 20.28 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.678e-05/0.2095, allocations: 13.06 kB / 450.3 MB, free: 20.27 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.905e-05/0.2096, allocations: 7.078 kB / 450.3 MB, free: 20.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.969e-05/0.2096, allocations: 6.234 kB / 450.3 MB, free: 20.27 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000766/0.2104, allocations: 0.7903 MB / 451.1 MB, free: 20 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2104, allocations: 0 / 451.1 MB, free: 20 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002655/0.2106, allocations: 46.66 kB / 451.1 MB, free: 20 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.001598/0.2122, allocations: 451.5 kB / 451.6 MB, free: 19.86 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002553/0.2125, allocations: 84.44 kB / 451.6 MB, free: 19.84 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2125, allocations: 1.375 kB / 451.6 MB, free: 19.84 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001084/0.2126, allocations: 42.17 kB / 451.7 MB, free: 19.83 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004316/0.213, allocations: 75.41 kB / 451.8 MB, free: 19.8 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00109/0.2141, allocations: 0.902 MB / 452.7 MB, free: 19.39 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002102/0.2143, allocations: 246.7 kB / 452.9 MB, free: 19.3 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001023/0.2144, allocations: 60.23 kB / 453 MB, free: 19.29 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.743e-05/0.2145, allocations: 33.2 kB / 453 MB, free: 19.28 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2145, allocations: 4.188 kB / 453 MB, free: 19.28 MB / 366.1 MB Notification: Performance of Templates: time 0.008843/0.2233, allocations: 4.021 MB / 457 MB, free: 18.76 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 4.666482750326395]