Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.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.00135/0.00135, allocations: 83.62 kB / 21.43 MB, free: 3.133 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.007927/0.007927, allocations: 160.8 kB / 24.69 MB, free: 9.414 MB / 18.57 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 0.9237/0.9237, allocations: 177.1 MB / 205 MB, free: 5.73 MB / 186.7 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.2589/0.2589, allocations: 32.8 MB / 294.2 MB, free: 1.203 MB / 266.7 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.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 440.9 MB, free: 3.695 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.291e-05/3.463e-05, allocations: 6.219 kB / 440.9 MB, free: 3.688 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.003193/0.003227, allocations: 1.791 MB / 442.7 MB, free: 1.879 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001422/0.004649, allocations: 1.051 MB / 443.8 MB, free: 0.8242 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001124/0.004761, allocations: 3.938 kB / 443.8 MB, free: 0.8203 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004926/0.005254, allocations: 307.1 kB / 444.1 MB, free: 0.5195 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004896/0.005744, allocations: 263 kB / 444.3 MB, free: 268 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002654/0.006009, allocations: 111.6 kB / 444.4 MB, free: 156 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.2097/0.2157, allocations: 267.3 kB / 444.7 MB, free: 44.05 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.777e-05/0.2158, allocations: 8.656 kB / 444.7 MB, free: 44.05 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002787/0.2161, allocations: 155.2 kB / 444.9 MB, free: 44.05 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000211/0.2163, allocations: 204.6 kB / 445.1 MB, free: 44.04 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.904e-05/0.2163, allocations: 8.031 kB / 445.1 MB, free: 44.04 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001519/0.2165, allocations: 48.47 kB / 445.1 MB, free: 44.04 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001387/0.2166, allocations: 145.2 kB / 445.3 MB, free: 44.02 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.658e-05/0.2167, allocations: 77.11 kB / 445.3 MB, free: 44 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003719/0.217, allocations: 350.7 kB / 445.7 MB, free: 43.97 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.217, allocations: 0 / 445.7 MB, free: 43.97 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.2171, allocations: 0 / 445.7 MB, free: 43.97 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.624e-06/0.2171, allocations: 1.219 kB / 445.7 MB, free: 43.97 MB / 410.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.0006947/0.2178, allocations: 0.6799 MB / 446.4 MB, free: 43.48 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.2178, allocations: 15.31 kB / 446.4 MB, free: 43.48 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.588e-05/0.2179, allocations: 55.12 kB / 446.4 MB, free: 43.45 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004246/0.2183, allocations: 389.1 kB / 446.8 MB, free: 43.23 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.2183, allocations: 8.281 kB / 446.8 MB, free: 43.23 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.56e-05/0.2183, allocations: 5.625 kB / 446.8 MB, free: 43.23 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001792/0.2185, allocations: 85.28 kB / 446.9 MB, free: 43.19 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.2185, allocations: 2.031 kB / 446.9 MB, free: 43.19 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.2185, allocations: 10.31 kB / 446.9 MB, free: 43.18 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.2185, allocations: 0 / 446.9 MB, free: 43.18 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.315e-05/0.2186, allocations: 35.33 kB / 446.9 MB, free: 43.18 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002669/0.2189, allocations: 306.9 kB / 447.2 MB, free: 43.05 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001799/0.219, allocations: 107.9 kB / 447.4 MB, free: 43.01 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.3e-05/0.2191, allocations: 43.62 kB / 447.4 MB, free: 42.99 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.785e-05/0.2191, allocations: 0 / 447.4 MB, free: 42.99 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001617/0.2193, allocations: 109.8 kB / 447.5 MB, free: 42.93 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.022e-06/0.2193, allocations: 3.469 kB / 447.5 MB, free: 42.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003471/0.2196, allocations: 216.9 kB / 447.7 MB, free: 42.86 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.61e-05/0.2197, allocations: 82.98 kB / 447.8 MB, free: 42.77 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006883/0.2203, allocations: 1.062 MB / 448.9 MB, free: 42.65 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.2204, allocations: 25.7 kB / 448.9 MB, free: 42.62 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001262/0.2205, allocations: 237.5 kB / 449.1 MB, free: 42.54 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.706e-05/0.2205, allocations: 31.73 kB / 449.1 MB, free: 42.52 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.695e-05/0.2206, allocations: 32.08 kB / 449.2 MB, free: 42.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.845e-05/0.2206, allocations: 369.5 kB / 449.5 MB, free: 42.19 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.608e-05/0.2207, allocations: 27.31 kB / 449.6 MB, free: 42.19 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.488e-05/0.2207, allocations: 60.28 kB / 449.6 MB, free: 42.16 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001074/0.2209, allocations: 94.22 kB / 449.7 MB, free: 42.12 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.2209, allocations: 3.328 kB / 449.7 MB, free: 42.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001748/0.221, allocations: 176.4 kB / 449.9 MB, free: 42.07 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.2211, allocations: 5.812 kB / 449.9 MB, free: 42.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.2211, allocations: 2.844 kB / 449.9 MB, free: 42.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.2211, allocations: 3.938 kB / 449.9 MB, free: 42.06 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.835e-05/0.2212, allocations: 20.67 kB / 449.9 MB, free: 42.06 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.2212, allocations: 6 kB / 449.9 MB, free: 42.06 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.472e-05/0.2212, allocations: 21.23 kB / 450 MB, free: 42.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.705e-06/0.2213, allocations: 9.438 kB / 450 MB, free: 42.05 MB / 410.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.0001451/0.2214, allocations: 221.4 kB / 450.2 MB, free: 41.93 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.623e-05/0.2214, allocations: 50.58 kB / 450.2 MB, free: 41.91 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002506/0.2217, allocations: 212.1 kB / 450.4 MB, free: 41.82 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.708e-06/0.2217, allocations: 6.938 kB / 450.4 MB, free: 41.82 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.533e-06/0.2217, allocations: 3.234 kB / 450.4 MB, free: 41.82 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.2217, allocations: 0 / 450.4 MB, free: 41.82 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001814/0.2219, allocations: 272 kB / 450.7 MB, free: 41.65 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.2219, allocations: 4 kB / 450.7 MB, free: 41.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.818e-05/0.2219, allocations: 12.53 kB / 450.7 MB, free: 41.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.2219, allocations: 0 / 450.7 MB, free: 41.64 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.2219, allocations: 7.094 kB / 450.7 MB, free: 41.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.2219, allocations: 3.469 kB / 450.7 MB, free: 41.64 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.2219, allocations: 6.875 kB / 450.7 MB, free: 41.64 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001848/0.2221, allocations: 214.7 kB / 451 MB, free: 41.51 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.785e-05/0.2222, allocations: 62.27 kB / 451 MB, free: 41.48 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.772e-05/0.2222, allocations: 10.38 kB / 451 MB, free: 41.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.095e-05/0.2222, allocations: 9.891 kB / 451 MB, free: 41.46 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.118e-05/0.2223, allocations: 12.89 kB / 451 MB, free: 41.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.881e-05/0.2223, allocations: 10.03 kB / 451.1 MB, free: 41.46 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004684/0.2228, allocations: 0.7936 MB / 451.9 MB, free: 41.18 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2228, allocations: 0 / 451.9 MB, free: 41.18 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001906/0.223, allocations: 48.88 kB / 451.9 MB, free: 41.18 MB / 410.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.0007682/0.2237, allocations: 435 kB / 452.3 MB, free: 41.04 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001665/0.2239, allocations: 87.19 kB / 452.4 MB, free: 41.02 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2239, allocations: 4.125 kB / 452.4 MB, free: 41.02 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.895e-05/0.224, allocations: 44.2 kB / 452.5 MB, free: 41 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002866/0.2243, allocations: 70.45 kB / 452.5 MB, free: 40.98 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000836/0.2251, allocations: 0.9357 MB / 453.5 MB, free: 40.54 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001544/0.2252, allocations: 247.8 kB / 453.7 MB, free: 40.44 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.628e-05/0.2253, allocations: 35.83 kB / 453.7 MB, free: 40.43 MB / 410.7 MB Notification: Performance of SimCode: time 1.102e-06/0.2253, allocations: 0 / 453.7 MB, free: 40.43 MB / 410.7 MB Notification: Performance of Templates: time 0.006224/0.2315, allocations: 5.37 MB / 459.1 MB, free: 39.63 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.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.087209785357118]