Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.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.00148/0.00148, allocations: 88.31 kB / 20.96 MB, free: 3.477 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.001631/0.001631, allocations: 161.7 kB / 24.26 MB, free: 176 kB / 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 1.507/1.507, allocations: 177.2 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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.3527/0.3527, allocations: 32.8 MB / 293.9 MB, free: 1.238 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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 375.3 MB, free: 4.91 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.692e-05/3.869e-05, allocations: 6.25 kB / 375.3 MB, free: 4.902 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.003381/0.00342, allocations: 1.73 MB / 377.1 MB, free: 3.16 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001979/0.005399, allocations: 0.9664 MB / 378 MB, free: 2.188 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.804e-05/0.005477, allocations: 0 / 378 MB, free: 2.188 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003226/0.005799, allocations: 43.7 kB / 378.1 MB, free: 2.145 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003946/0.006194, allocations: 95.48 kB / 378.2 MB, free: 2.051 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002333/0.006427, allocations: 75.67 kB / 378.2 MB, free: 1.977 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002321/0.006659, allocations: 111.6 kB / 378.4 MB, free: 1.867 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.299e-05/0.006752, allocations: 8 kB / 378.4 MB, free: 1.859 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000129/0.006881, allocations: 55.77 kB / 378.4 MB, free: 1.805 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.588e-05/0.006977, allocations: 23.91 kB / 378.4 MB, free: 1.781 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.188e-05/0.006999, allocations: 4 kB / 378.4 MB, free: 1.777 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001072/0.007106, allocations: 43.92 kB / 378.5 MB, free: 1.734 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.49e-05/0.007171, allocations: 27.92 kB / 378.5 MB, free: 1.707 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.23e-05/0.007224, allocations: 23.91 kB / 378.5 MB, free: 1.684 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002371/0.007461, allocations: 111.6 kB / 378.7 MB, free: 1.574 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.007467, allocations: 4 kB / 378.7 MB, free: 1.57 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.007468, allocations: 0 / 378.7 MB, free: 1.57 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.81e-06/0.007473, allocations: 0 / 378.7 MB, free: 1.57 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006408/0.008114, allocations: 329.7 kB / 379 MB, free: 1.219 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.008162, allocations: 11.97 kB / 379 MB, free: 1.207 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.342e-05/0.008225, allocations: 16.84 kB / 379 MB, free: 1.191 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002544/0.00848, allocations: 144.5 kB / 379.1 MB, free: 1.027 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.008493, allocations: 4.375 kB / 379.1 MB, free: 1.023 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.829e-05/0.008521, allocations: 4.375 kB / 379.2 MB, free: 1.02 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001655/0.008686, allocations: 54.23 kB / 379.2 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.0087, allocations: 3.938 kB / 379.2 MB, free: 0.957 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.008711, allocations: 0 / 379.2 MB, free: 0.957 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.008716, allocations: 0 / 379.2 MB, free: 0.957 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.555e-05/0.008801, allocations: 23.98 kB / 379.2 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004029/0.009204, allocations: 236.5 kB / 379.5 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001951/0.009399, allocations: 58.67 kB / 379.5 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.117e-05/0.009471, allocations: 24.8 kB / 379.5 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.009489, allocations: 3.984 kB / 379.6 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001685/0.009657, allocations: 71.33 kB / 379.6 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.009659, allocations: 0 / 379.6 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006663/0.01033, allocations: 181.3 kB / 379.8 MB, free: 316 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.172e-05/0.01038, allocations: 55.34 kB / 379.9 MB, free: 248 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002179/0.01059, allocations: 175.6 kB / 380 MB, free: 60 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.238e-05/0.01063, allocations: 33.69 kB / 380.1 MB, free: 20 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.986e-05/0.01073, allocations: 100 kB / 380.2 MB, free: 15.92 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.101e-05/0.01078, allocations: 31.78 kB / 380.2 MB, free: 15.89 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.196e-05/0.01083, allocations: 21.72 kB / 380.2 MB, free: 15.86 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001874/0.01102, allocations: 322.8 kB / 380.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.259e-05/0.01109, allocations: 23.98 kB / 380.5 MB, free: 15.51 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.061e-05/0.01117, allocations: 33.7 kB / 380.6 MB, free: 15.47 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000149/0.01132, allocations: 69.58 kB / 380.6 MB, free: 15.4 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.01132, allocations: 0 / 380.6 MB, free: 15.4 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004974/0.01182, allocations: 105.6 kB / 380.7 MB, free: 15.29 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/0.01184, allocations: 14.02 kB / 380.8 MB, free: 15.28 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.01185, allocations: 4.031 kB / 380.8 MB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.01186, allocations: 3.938 kB / 380.8 MB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.66e-05/0.01196, allocations: 12.38 kB / 380.8 MB, free: 15.26 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.01197, allocations: 4 kB / 380.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.01e-05/0.01202, allocations: 4 kB / 380.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.357e-05/0.01203, allocations: 7.984 kB / 380.8 MB, free: 15.24 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001308/0.01216, allocations: 125.8 kB / 380.9 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.801e-05/0.01219, allocations: 7.953 kB / 380.9 MB, free: 15.1 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002968/0.01249, allocations: 122.5 kB / 381 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.01249, allocations: 8 kB / 381.1 MB, free: 14.97 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.0125, allocations: 0 / 381.1 MB, free: 14.97 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.0125, allocations: 3.984 kB / 381.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005403/0.01304, allocations: 342.9 kB / 381.4 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.01304, allocations: 0 / 381.4 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.456e-05/0.01309, allocations: 11.98 kB / 381.4 MB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.286e-06/0.0131, allocations: 4 kB / 381.4 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.694e-05/0.01311, allocations: 7.984 kB / 381.4 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.01312, allocations: 3.938 kB / 381.4 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.01312, allocations: 0 / 381.4 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003161/0.01343, allocations: 224.2 kB / 381.6 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.411e-05/0.01346, allocations: 7.953 kB / 381.6 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.92e-05/0.01349, allocations: 3.984 kB / 381.7 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.098e-05/0.01358, allocations: 8 kB / 381.7 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.778e-05/0.01363, allocations: 7.922 kB / 381.7 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.106e-05/0.01365, allocations: 4 kB / 381.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001483/0.0138, allocations: 135.2 kB / 381.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0138, allocations: 0 / 381.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002944/0.01409, allocations: 27.92 kB / 381.8 MB, free: 14.13 MB / 362.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002351/0.01644, allocations: 490 kB / 382.3 MB, free: 13.86 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002544/0.01669, allocations: 59.91 kB / 382.4 MB, free: 13.8 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.0167, allocations: 0 / 382.4 MB, free: 13.8 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.317e-05/0.01679, allocations: 32 kB / 382.4 MB, free: 13.77 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004127/0.0172, allocations: 42.08 kB / 382.4 MB, free: 13.73 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005493/0.01775, allocations: 213.9 kB / 382.6 MB, free: 13.49 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001044/0.01786, allocations: 85.44 kB / 382.7 MB, free: 13.39 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.327e-05/0.01792, allocations: 25.27 kB / 382.8 MB, free: 13.37 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.298e-05/0.01797, allocations: 24.56 kB / 382.8 MB, free: 13.34 MB / 362.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01797, allocations: 0 / 382.8 MB, free: 13.34 MB / 362.7 MB Notification: Performance of Templates: time 0.005801/0.02377, allocations: 1.861 MB / 384.6 MB, free: 11.5 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.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.880322971963324]