Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.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.001273/0.001273, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001848/0.003122, allocations: 452 kB / 10.43 MB, free: 264 kB / 10.45 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.001236/0.001236, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001577/0.002813, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8924/0.8924, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1759/1.068, allocations: 49.5 MB / 220.7 MB, free: 1.367 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1409/0.1409, allocations: 32.35 MB / 253.8 MB, free: 244 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0281/0.169, allocations: 12.32 MB / 266.1 MB, free: 3.879 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 267.5 MB, free: 2.488 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.554e-05/2.737e-05, allocations: 2.312 kB / 267.5 MB, free: 2.484 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.002797/0.002824, allocations: 1.77 MB / 269.2 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001311/0.004136, allocations: 0.8114 MB / 270.1 MB, free: 15.87 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001075/0.004243, allocations: 7.938 kB / 270.1 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003021/0.004545, allocations: 43.7 kB / 270.1 MB, free: 15.82 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001999/0.004745, allocations: 59.64 kB / 270.2 MB, free: 15.76 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002593/0.005004, allocations: 83.7 kB / 270.2 MB, free: 15.68 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001934/0.005198, allocations: 103.6 kB / 270.3 MB, free: 15.58 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.005306, allocations: 12.23 kB / 270.4 MB, free: 15.57 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001521/0.005458, allocations: 71.83 kB / 270.4 MB, free: 15.5 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001009/0.005559, allocations: 19.91 kB / 270.4 MB, free: 15.48 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.014e-05/0.005579, allocations: 4 kB / 270.5 MB, free: 15.47 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001107/0.005689, allocations: 47.86 kB / 270.5 MB, free: 15.43 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.958e-05/0.005749, allocations: 23.92 kB / 270.5 MB, free: 15.4 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.218e-05/0.005791, allocations: 15.94 kB / 270.5 MB, free: 15.39 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002482/0.006039, allocations: 91.62 kB / 270.6 MB, free: 15.3 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.575e-05/0.006055, allocations: 4 kB / 270.6 MB, free: 15.29 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.614e-06/0.006057, allocations: 0 / 270.6 MB, free: 15.29 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.046e-05/0.006067, allocations: 0 / 270.6 MB, free: 15.29 MB / 282.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.0005198/0.006587, allocations: 331.8 kB / 271 MB, free: 14.95 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.006626, allocations: 12.03 kB / 271 MB, free: 14.93 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.111e-05/0.006667, allocations: 8.922 kB / 271 MB, free: 14.93 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001949/0.006862, allocations: 146.3 kB / 271.1 MB, free: 14.76 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.357e-05/0.006885, allocations: 4.375 kB / 271.1 MB, free: 14.75 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.301e-05/0.006908, allocations: 384 / 271.1 MB, free: 14.75 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001458/0.007054, allocations: 73.75 kB / 271.2 MB, free: 14.67 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.007066, allocations: 7.875 kB / 271.2 MB, free: 14.66 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.225e-06/0.007074, allocations: 0 / 271.2 MB, free: 14.66 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.273e-06/0.007082, allocations: 3.984 kB / 271.2 MB, free: 14.66 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.79e-05/0.00711, allocations: 8 kB / 271.2 MB, free: 14.65 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002782/0.007388, allocations: 173.9 kB / 271.4 MB, free: 14.46 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001163/0.007504, allocations: 81.3 kB / 271.5 MB, free: 14.38 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.436e-05/0.007528, allocations: 12.86 kB / 271.5 MB, free: 14.36 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.398e-05/0.007542, allocations: 0 / 271.5 MB, free: 14.36 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001349/0.007677, allocations: 86.06 kB / 271.6 MB, free: 14.26 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.643e-06/0.007679, allocations: 0 / 271.6 MB, free: 14.26 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003949/0.008074, allocations: 113.5 kB / 271.7 MB, free: 14.14 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.847e-05/0.008112, allocations: 51.41 kB / 271.7 MB, free: 14.08 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/0.008237, allocations: 173 kB / 271.9 MB, free: 13.9 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.008255, allocations: 29.7 kB / 271.9 MB, free: 13.86 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.478e-05/0.0083, allocations: 100.1 kB / 272 MB, free: 13.76 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.266e-05/0.008333, allocations: 19.8 kB / 272 MB, free: 13.74 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.59e-05/0.008379, allocations: 29.69 kB / 272.1 MB, free: 13.71 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.008486, allocations: 322.8 kB / 272.4 MB, free: 13.38 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.289e-05/0.008509, allocations: 10.83 kB / 272.4 MB, free: 13.37 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.316e-05/0.008542, allocations: 29.69 kB / 272.4 MB, free: 13.34 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.045e-05/0.008592, allocations: 36.47 kB / 272.5 MB, free: 13.29 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.008594, allocations: 0 / 272.5 MB, free: 13.29 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000102/0.008696, allocations: 80.36 kB / 272.5 MB, free: 13.21 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.008713, allocations: 8 kB / 272.5 MB, free: 13.2 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.00872, allocations: 0 / 272.5 MB, free: 13.2 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.008736, allocations: 0 / 272.5 MB, free: 13.2 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.146e-05/0.008827, allocations: 19.98 kB / 272.6 MB, free: 13.18 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.008832, allocations: 4.031 kB / 272.6 MB, free: 13.18 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.989e-05/0.008862, allocations: 3.938 kB / 272.6 MB, free: 13.17 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.008871, allocations: 8 kB / 272.6 MB, free: 13.16 MB / 282.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 9.612e-05/0.008967, allocations: 112.7 kB / 272.7 MB, free: 13.04 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.162e-05/0.008989, allocations: 11.92 kB / 272.7 MB, free: 13.03 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001552/0.009144, allocations: 83.19 kB / 272.8 MB, free: 12.95 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.237e-06/0.009148, allocations: 4 kB / 272.8 MB, free: 12.95 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.384e-06/0.00915, allocations: 0 / 272.8 MB, free: 12.95 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.009154, allocations: 0 / 272.8 MB, free: 12.95 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002866/0.009441, allocations: 295.4 kB / 273.1 MB, free: 12.63 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/0.009443, allocations: 4 kB / 273.1 MB, free: 12.62 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.627e-05/0.009479, allocations: 8 kB / 273.1 MB, free: 12.62 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.808e-05/0.009497, allocations: 11.94 kB / 273.1 MB, free: 12.61 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.009501, allocations: 3.938 kB / 273.1 MB, free: 12.6 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-06/0.009511, allocations: 4 kB / 273.1 MB, free: 12.6 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.009515, allocations: 0 / 273.1 MB, free: 12.6 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.009519, allocations: 384 / 273.1 MB, free: 12.6 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001581/0.009677, allocations: 215 kB / 273.3 MB, free: 12.37 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.609e-05/0.009693, allocations: 7.938 kB / 273.3 MB, free: 12.36 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.338e-05/0.009736, allocations: 8.016 kB / 273.3 MB, free: 12.35 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.035e-05/0.009767, allocations: 8 kB / 273.3 MB, free: 12.34 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.707e-05/0.009784, allocations: 11.98 kB / 273.3 MB, free: 12.33 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.591e-05/0.00983, allocations: 44.36 kB / 273.4 MB, free: 12.29 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00983, allocations: 0 / 273.4 MB, free: 12.29 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001582/0.009988, allocations: 27.92 kB / 273.4 MB, free: 12.26 MB / 282.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.001323/0.01131, allocations: 0.6399 MB / 274.1 MB, free: 11.61 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001352/0.01145, allocations: 52.7 kB / 274.1 MB, free: 11.55 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.827e-06/0.01146, allocations: 0 / 274.1 MB, free: 11.55 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.12e-05/0.0115, allocations: 24.84 kB / 274.1 MB, free: 11.52 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002617/0.01176, allocations: 180.3 kB / 274.3 MB, free: 11.32 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005582/0.01232, allocations: 226.4 kB / 274.5 MB, free: 11.07 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.815e-05/0.01236, allocations: 63.34 kB / 274.6 MB, free: 10.98 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.38e-05/0.01241, allocations: 16.48 kB / 274.6 MB, free: 10.97 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.128e-05/0.01249, allocations: 71.36 kB / 274.7 MB, free: 10.9 MB / 282.7 MB Notification: Performance of SimCode: time 8.71e-07/0.01249, allocations: 0 / 274.7 MB, free: 10.9 MB / 282.7 MB Notification: Performance of Templates: time 0.00424/0.01673, allocations: 2.041 MB / 276.7 MB, free: 8.852 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8880786914378405]