Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.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.001551/0.001551, allocations: 85.25 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.001488/0.001488, allocations: 162.7 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.53/1.53, allocations: 177.1 MB / 204.3 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2085/0.2085, allocations: 34.29 MB / 295 MB, free: 14.56 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test74,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.1.0_ModelicaTest.Tables.CombiTimeTable.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,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.1.0_ModelicaTest.Tables.CombiTimeTable.Test74") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 442.8 MB, free: 5.305 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.547e-05/3.716e-05, allocations: 6.281 kB / 442.8 MB, free: 5.297 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.004329/0.004366, allocations: 1.879 MB / 444.6 MB, free: 3.402 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00263/0.006996, allocations: 1.08 MB / 445.7 MB, free: 2.316 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001342/0.007131, allocations: 0 / 445.7 MB, free: 2.316 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005894/0.00772, allocations: 251.1 kB / 446 MB, free: 2.07 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006031/0.008323, allocations: 251 kB / 446.2 MB, free: 1.824 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003422/0.008665, allocations: 123.5 kB / 446.3 MB, free: 1.703 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000487/0.009152, allocations: 275.2 kB / 446.6 MB, free: 1.434 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001844/0.009337, allocations: 17.95 kB / 446.6 MB, free: 1.414 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003903/0.009727, allocations: 163.6 kB / 446.8 MB, free: 1.254 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003732/0.0101, allocations: 187.6 kB / 447 MB, free: 1.07 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.801e-05/0.01015, allocations: 8 kB / 447 MB, free: 1.062 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002127/0.01036, allocations: 67.91 kB / 447 MB, free: 0.9961 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001562/0.01052, allocations: 71.7 kB / 447.1 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001266/0.01064, allocations: 51.78 kB / 447.2 MB, free: 0.875 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004973/0.01114, allocations: 247.1 kB / 447.4 MB, free: 0.6328 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.031e-05/0.01115, allocations: 7.938 kB / 447.4 MB, free: 0.625 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.01115, allocations: 0 / 447.4 MB, free: 0.625 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.01116, allocations: 0 / 447.4 MB, free: 0.625 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0009594/0.01212, allocations: 0.508 MB / 447.9 MB, free: 88 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.01216, allocations: 8.031 kB / 447.9 MB, free: 80 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.082e-05/0.01224, allocations: 36.7 kB / 448 MB, free: 44 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.222/0.2343, allocations: 227.4 kB / 448.2 MB, free: 19.47 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.733e-05/0.2343, allocations: 7.438 kB / 448.2 MB, free: 19.47 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.23e-05/0.2344, allocations: 13.41 kB / 448.2 MB, free: 19.46 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002814/0.2346, allocations: 113.6 kB / 448.3 MB, free: 19.42 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.928e-05/0.2347, allocations: 1.062 kB / 448.3 MB, free: 19.42 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.86e-05/0.2347, allocations: 3.828 kB / 448.3 MB, free: 19.42 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.2347, allocations: 1.312 kB / 448.3 MB, free: 19.42 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001465/0.2348, allocations: 52.69 kB / 448.4 MB, free: 19.42 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005509/0.2354, allocations: 420 kB / 448.8 MB, free: 19.13 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004015/0.2358, allocations: 122.4 kB / 448.9 MB, free: 19.09 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.967e-05/0.2359, allocations: 44.48 kB / 448.9 MB, free: 19.07 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.814e-05/0.2359, allocations: 6.203 kB / 449 MB, free: 19.07 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002587/0.2362, allocations: 124.8 kB / 449.1 MB, free: 19 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.713e-06/0.2362, allocations: 0 / 449.1 MB, free: 19 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001662/0.2378, allocations: 0.5282 MB / 449.6 MB, free: 18.78 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.863e-05/0.2379, allocations: 82.64 kB / 449.7 MB, free: 18.68 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007901/0.2387, allocations: 0.4945 MB / 450.2 MB, free: 18.48 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.499e-05/0.2387, allocations: 33 kB / 450.2 MB, free: 18.45 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001343/0.2388, allocations: 170.8 kB / 450.4 MB, free: 18.3 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.483e-05/0.2389, allocations: 70.84 kB / 450.4 MB, free: 18.25 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.002e-05/0.239, allocations: 43.5 kB / 450.5 MB, free: 18.22 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.2391, allocations: 353.2 kB / 450.8 MB, free: 17.89 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001424/0.2393, allocations: 57.73 kB / 450.9 MB, free: 17.88 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001614/0.2394, allocations: 97.16 kB / 451 MB, free: 17.82 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003034/0.2397, allocations: 169.5 kB / 451.2 MB, free: 17.72 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.2397, allocations: 0 / 451.2 MB, free: 17.72 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004531/0.2402, allocations: 247.2 kB / 451.4 MB, free: 17.61 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.486e-05/0.2402, allocations: 11.56 kB / 451.4 MB, free: 17.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.2402, allocations: 1.375 kB / 451.4 MB, free: 17.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.177e-05/0.2402, allocations: 1.375 kB / 451.4 MB, free: 17.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001644/0.2404, allocations: 44.39 kB / 451.5 MB, free: 17.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.2404, allocations: 5.047 kB / 451.5 MB, free: 17.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001019/0.2405, allocations: 14.28 kB / 451.5 MB, free: 17.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.926e-05/0.2405, allocations: 11.25 kB / 451.5 MB, free: 17.6 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.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 0.0001635/0.2407, allocations: 179.9 kB / 451.7 MB, free: 17.46 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.354e-05/0.2407, allocations: 40.12 kB / 451.7 MB, free: 17.44 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006333/0.2414, allocations: 285.3 kB / 452 MB, free: 17.31 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.2414, allocations: 3.625 kB / 452 MB, free: 17.31 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.2414, allocations: 1.375 kB / 452 MB, free: 17.31 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.2414, allocations: 1.312 kB / 452 MB, free: 17.31 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001007/0.2424, allocations: 0.6824 MB / 452.7 MB, free: 16.85 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.2424, allocations: 1.406 kB / 452.7 MB, free: 16.85 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001078/0.2425, allocations: 37.69 kB / 452.7 MB, free: 16.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.743e-06/0.2425, allocations: 3.328 kB / 452.7 MB, free: 16.84 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.059e-05/0.2425, allocations: 6.609 kB / 452.7 MB, free: 16.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.2426, allocations: 5.438 kB / 452.7 MB, free: 16.84 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.2426, allocations: 2.891 kB / 452.7 MB, free: 16.84 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005116/0.2431, allocations: 447.2 kB / 453.2 MB, free: 16.52 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.005e-05/0.2431, allocations: 31.47 kB / 453.2 MB, free: 16.5 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.806e-05/0.2432, allocations: 18.03 kB / 453.2 MB, free: 16.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001434/0.2433, allocations: 10.09 kB / 453.2 MB, free: 16.49 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.815e-05/0.2434, allocations: 20.45 kB / 453.2 MB, free: 16.49 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.896e-05/0.2434, allocations: 14.88 kB / 453.2 MB, free: 16.48 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003951/0.2438, allocations: 382.9 kB / 453.6 MB, free: 16.32 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2438, allocations: 0 / 453.6 MB, free: 16.32 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003573/0.2442, allocations: 48.92 kB / 453.7 MB, free: 16.31 MB / 366.1 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.00212/0.2463, allocations: 0.5512 MB / 454.2 MB, free: 16.11 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000371/0.2466, allocations: 158.9 kB / 454.4 MB, free: 16.06 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2467, allocations: 1.125 kB / 454.4 MB, free: 16.06 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001654/0.2468, allocations: 79.28 kB / 454.5 MB, free: 16.04 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005794/0.2474, allocations: 67.17 kB / 454.5 MB, free: 16.01 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009788/0.2484, allocations: 0.6082 MB / 455.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001766/0.2486, allocations: 182.2 kB / 455.3 MB, free: 15.57 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.822e-05/0.2487, allocations: 39.61 kB / 455.3 MB, free: 15.56 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.797e-05/0.2487, allocations: 29.22 kB / 455.4 MB, free: 15.55 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2487, allocations: 7.938 kB / 455.4 MB, free: 15.55 MB / 366.1 MB Notification: Performance of Templates: time 0.008614/0.2573, allocations: 3.33 MB / 458.7 MB, free: 15.11 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.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.083707302808762]