Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.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.0008998/0.0008998, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.004101/0.004101, allocations: 160.7 kB / 24.7 MB, free: 8.898 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.9068/0.9068, allocations: 177.1 MB / 205 MB, free: 5.734 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.2325/0.2325, allocations: 32.79 MB / 294.2 MB, free: 1.207 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.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 440.9 MB, free: 3.66 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.549e-05/2.737e-05, allocations: 6.219 kB / 440.9 MB, free: 3.652 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.002218/0.002246, allocations: 1.869 MB / 442.8 MB, free: 1.766 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001236/0.003482, allocations: 1.08 MB / 443.9 MB, free: 0.6797 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.484e-05/0.003567, allocations: 4 kB / 443.9 MB, free: 0.6758 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003482/0.003915, allocations: 163.3 kB / 444.1 MB, free: 0.5156 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003175/0.004233, allocations: 179.2 kB / 444.2 MB, free: 348 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001701/0.004403, allocations: 123.5 kB / 444.4 MB, free: 224 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.2016/0.206, allocations: 250.7 kB / 444.6 MB, free: 43.9 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001876/0.2062, allocations: 23.19 kB / 444.6 MB, free: 43.9 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002714/0.2065, allocations: 138.7 kB / 444.8 MB, free: 43.9 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001613/0.2066, allocations: 124.4 kB / 444.9 MB, free: 43.9 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.277e-05/0.2066, allocations: 8.719 kB / 444.9 MB, free: 43.9 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001451/0.2068, allocations: 70.02 kB / 445 MB, free: 43.9 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.753e-05/0.2069, allocations: 56.28 kB / 445 MB, free: 43.9 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.135e-05/0.2069, allocations: 44.45 kB / 445.1 MB, free: 43.89 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003286/0.2072, allocations: 226.1 kB / 445.3 MB, free: 43.88 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.2073, allocations: 0 / 445.3 MB, free: 43.88 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.2073, allocations: 0 / 445.3 MB, free: 43.88 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.2073, allocations: 0 / 445.3 MB, free: 43.88 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005579/0.2078, allocations: 481 kB / 445.7 MB, free: 43.51 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.2079, allocations: 8.844 kB / 445.8 MB, free: 43.51 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.379e-05/0.2079, allocations: 32.28 kB / 445.8 MB, free: 43.5 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003145/0.2082, allocations: 220.6 kB / 446 MB, free: 43.33 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/0.2083, allocations: 3.281 kB / 446 MB, free: 43.33 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.724e-05/0.2083, allocations: 10.06 kB / 446 MB, free: 43.33 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002053/0.2085, allocations: 115.4 kB / 446.1 MB, free: 43.28 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.2085, allocations: 2.812 kB / 446.1 MB, free: 43.28 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.491e-05/0.2085, allocations: 11 kB / 446.1 MB, free: 43.28 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.2085, allocations: 2.719 kB / 446.1 MB, free: 43.28 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.751e-05/0.2086, allocations: 47.64 kB / 446.2 MB, free: 43.28 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000397/0.209, allocations: 394.3 kB / 446.6 MB, free: 43 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002797/0.2093, allocations: 128.6 kB / 446.7 MB, free: 42.95 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.825e-05/0.2093, allocations: 43.14 kB / 446.7 MB, free: 42.93 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.924e-05/0.2094, allocations: 7.062 kB / 446.7 MB, free: 42.93 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000173/0.2095, allocations: 122.4 kB / 446.9 MB, free: 42.87 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 2.265e-06/0.2095, allocations: 0 / 446.9 MB, free: 42.87 MB / 410.7 MB Notification: Performance of matching and sorting (n=22): time 0.0008872/0.2104, allocations: 0.4994 MB / 447.4 MB, free: 42.75 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.787e-05/0.2105, allocations: 79.92 kB / 447.4 MB, free: 42.66 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002379/0.2107, allocations: 392.2 kB / 447.8 MB, free: 42.55 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.2107, allocations: 35.95 kB / 447.9 MB, free: 42.52 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.374e-05/0.2108, allocations: 141.9 kB / 448 MB, free: 42.43 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.128e-05/0.2108, allocations: 74.7 kB / 448.1 MB, free: 42.39 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.722e-05/0.2109, allocations: 45.64 kB / 448.1 MB, free: 42.38 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.466e-05/0.2109, allocations: 345.1 kB / 448.5 MB, free: 42.06 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.612e-05/0.211, allocations: 57.36 kB / 448.5 MB, free: 42.06 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.758e-05/0.2111, allocations: 98.33 kB / 448.6 MB, free: 42.03 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001564/0.2112, allocations: 160 kB / 448.8 MB, free: 42 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.2112, allocations: 0 / 448.8 MB, free: 42 MB / 410.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002385/0.2115, allocations: 238.3 kB / 449 MB, free: 41.95 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.2115, allocations: 8.969 kB / 449 MB, free: 41.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.2115, allocations: 0 / 449 MB, free: 41.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/0.2115, allocations: 5.906 kB / 449 MB, free: 41.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.524e-05/0.2116, allocations: 50.86 kB / 449.1 MB, free: 41.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.2116, allocations: 2.344 kB / 449.1 MB, free: 41.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.026e-05/0.2117, allocations: 13.95 kB / 449.1 MB, free: 41.94 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.215e-05/0.2117, allocations: 9.438 kB / 449.1 MB, free: 41.94 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.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.925e-05/0.2118, allocations: 159.1 kB / 449.2 MB, free: 41.82 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.533e-05/0.2118, allocations: 30.22 kB / 449.3 MB, free: 41.81 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003231/0.2121, allocations: 286.7 kB / 449.6 MB, free: 41.76 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.2121, allocations: 2 kB / 449.6 MB, free: 41.76 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.2121, allocations: 2.344 kB / 449.6 MB, free: 41.76 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.2121, allocations: 7.219 kB / 449.6 MB, free: 41.76 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005077/0.2126, allocations: 0.6572 MB / 450.2 MB, free: 41.42 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.2126, allocations: 3.938 kB / 450.2 MB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.612e-05/0.2127, allocations: 38.94 kB / 450.3 MB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.2127, allocations: 4.125 kB / 450.3 MB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.2127, allocations: 8.766 kB / 450.3 MB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.2127, allocations: 2.781 kB / 450.3 MB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.2127, allocations: 2.844 kB / 450.3 MB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002655/0.213, allocations: 438.2 kB / 450.7 MB, free: 41.1 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.387e-05/0.213, allocations: 29.75 kB / 450.7 MB, free: 41.08 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.903e-05/0.213, allocations: 12.66 kB / 450.8 MB, free: 41.08 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.333e-05/0.2131, allocations: 5.531 kB / 450.8 MB, free: 41.08 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.672e-05/0.2132, allocations: 25.41 kB / 450.8 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.14e-05/0.2132, allocations: 12.53 kB / 450.8 MB, free: 41.07 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001712/0.2134, allocations: 286.7 kB / 451.1 MB, free: 40.94 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2134, allocations: 0 / 451.1 MB, free: 40.94 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002531/0.2136, allocations: 52.22 kB / 451.1 MB, free: 40.93 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * 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.001012/0.2146, allocations: 0.5545 MB / 451.7 MB, free: 40.75 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002585/0.2149, allocations: 154.1 kB / 451.8 MB, free: 40.71 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.2149, allocations: 128 / 451.8 MB, free: 40.71 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.474e-05/0.215, allocations: 86.52 kB / 451.9 MB, free: 40.69 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003696/0.2154, allocations: 65.53 kB / 452 MB, free: 40.67 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006867/0.216, allocations: 0.5331 MB / 452.5 MB, free: 40.33 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001215/0.2162, allocations: 157.2 kB / 452.7 MB, free: 40.25 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.338e-05/0.2162, allocations: 32.47 kB / 452.7 MB, free: 40.24 MB / 410.7 MB Notification: Performance of SimCode: time 1.112e-06/0.2162, allocations: 0 / 452.7 MB, free: 40.24 MB / 410.7 MB Notification: Performance of Templates: time 0.004204/0.2204, allocations: 3.735 MB / 456.4 MB, free: 39.77 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.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.198131499812007]