Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.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.0009516/0.0009516, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00131/0.002262, allocations: 449.7 kB / 10.37 MB, free: 328 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.0009789/0.0009789, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001285/0.002264, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.047/1.047, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1216/1.168, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.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.358/0.358, allocations: 32.8 MB / 276.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04309/0.4011, allocations: 12.53 MB / 289.3 MB, free: 8.66 MB / 282.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.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24") translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 290.7 MB, free: 7.574 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.354e-05/1.486e-05, allocations: 5.188 kB / 290.7 MB, free: 7.57 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.002711/0.002726, allocations: 1.807 MB / 292.5 MB, free: 6.102 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.007533/0.01026, allocations: 1.018 MB / 293.5 MB, free: 5.336 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.739e-05/0.01033, allocations: 3.188 kB / 293.5 MB, free: 5.336 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001978/0.01052, allocations: 47.42 kB / 293.6 MB, free: 5.301 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002176/0.01074, allocations: 92.56 kB / 293.7 MB, free: 5.227 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001652/0.01091, allocations: 75.61 kB / 293.7 MB, free: 5.152 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001587/0.01107, allocations: 115.6 kB / 293.8 MB, free: 5.039 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.314e-05/0.01114, allocations: 4.75 kB / 293.9 MB, free: 5.035 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001285/0.01127, allocations: 83.75 kB / 293.9 MB, free: 4.953 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.174e-05/0.01134, allocations: 27.91 kB / 294 MB, free: 4.926 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.553e-05/0.01135, allocations: 4 kB / 294 MB, free: 4.922 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.201e-05/0.01145, allocations: 43.92 kB / 294 MB, free: 4.879 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.467e-05/0.01149, allocations: 23.92 kB / 294 MB, free: 4.855 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.668e-05/0.01153, allocations: 15.94 kB / 294 MB, free: 4.84 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001655/0.01169, allocations: 107.5 kB / 294.2 MB, free: 4.734 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.386e-05/0.01171, allocations: 0 / 294.2 MB, free: 4.734 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.01171, allocations: 0 / 294.2 MB, free: 4.734 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.51e-05/0.01172, allocations: 0 / 294.2 MB, free: 4.734 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.0004301/0.01215, allocations: 336.5 kB / 294.5 MB, free: 4.383 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.838e-05/0.01218, allocations: 12.03 kB / 294.5 MB, free: 4.371 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.375e-05/0.01221, allocations: 8.938 kB / 294.5 MB, free: 4.363 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006192/0.01841, allocations: 154 kB / 294.6 MB, free: 4.188 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/0.01842, allocations: 4.375 kB / 294.7 MB, free: 4.184 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.022e-05/0.01844, allocations: 4.359 kB / 294.7 MB, free: 4.18 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001213/0.01857, allocations: 69.7 kB / 294.7 MB, free: 4.102 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.01858, allocations: 3.938 kB / 294.7 MB, free: 4.098 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.234e-06/0.01858, allocations: 0 / 294.7 MB, free: 4.098 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.01859, allocations: 0 / 294.7 MB, free: 4.098 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.392e-05/0.01862, allocations: 15.92 kB / 294.7 MB, free: 4.082 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002265/0.01885, allocations: 165.9 kB / 294.9 MB, free: 3.902 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001035/0.01895, allocations: 93.27 kB / 295 MB, free: 3.801 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.463e-05/0.01898, allocations: 16.92 kB / 295 MB, free: 3.781 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.085e-05/0.01899, allocations: 0 / 295 MB, free: 3.781 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001221/0.01911, allocations: 66.09 kB / 295.1 MB, free: 3.703 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.01911, allocations: 0 / 295.1 MB, free: 3.703 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003259/0.01944, allocations: 109.8 kB / 295.2 MB, free: 3.59 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.147e-05/0.01947, allocations: 51.41 kB / 295.2 MB, free: 3.527 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000133/0.0196, allocations: 176.8 kB / 295.4 MB, free: 3.34 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.944e-05/0.01962, allocations: 41.69 kB / 295.5 MB, free: 3.293 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.835e-05/0.01967, allocations: 92.11 kB / 295.5 MB, free: 3.199 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.482e-05/0.0197, allocations: 27.73 kB / 295.6 MB, free: 3.172 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.893e-05/0.01974, allocations: 21.7 kB / 295.6 MB, free: 3.145 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.031e-05/0.01982, allocations: 322.8 kB / 295.9 MB, free: 2.82 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.529e-05/0.01988, allocations: 15 kB / 295.9 MB, free: 2.805 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.322e-05/0.01991, allocations: 33.7 kB / 296 MB, free: 2.766 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.456e-05/0.01997, allocations: 44.44 kB / 296 MB, free: 2.715 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.01997, allocations: 0 / 296 MB, free: 2.715 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.451e-05/0.02006, allocations: 76.38 kB / 296.1 MB, free: 2.633 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.02008, allocations: 8 kB / 296.1 MB, free: 2.625 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.02008, allocations: 0 / 296.1 MB, free: 2.625 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.005e-06/0.02009, allocations: 0 / 296.1 MB, free: 2.625 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.417e-05/0.02017, allocations: 19.98 kB / 296.1 MB, free: 2.605 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.066e-06/0.02017, allocations: 0 / 296.1 MB, free: 2.605 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.848e-05/0.02021, allocations: 4 kB / 296.1 MB, free: 2.602 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.715e-06/0.02022, allocations: 4 kB / 296.1 MB, free: 2.598 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 6.419e-05/0.02029, allocations: 112.7 kB / 296.2 MB, free: 2.477 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.121e-05/0.02031, allocations: 15.92 kB / 296.2 MB, free: 2.461 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001172/0.02042, allocations: 79.11 kB / 296.3 MB, free: 2.379 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.02043, allocations: 0 / 296.3 MB, free: 2.379 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-06/0.02043, allocations: 0 / 296.3 MB, free: 2.379 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.02043, allocations: 3.984 kB / 296.3 MB, free: 2.375 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002569/0.02069, allocations: 299.6 kB / 296.6 MB, free: 2.055 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.02069, allocations: 0 / 296.6 MB, free: 2.055 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.132e-05/0.02073, allocations: 12 kB / 296.6 MB, free: 2.043 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.669e-05/0.02075, allocations: 23.77 kB / 296.6 MB, free: 2.02 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.02075, allocations: 0 / 296.6 MB, free: 2.02 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.114e-06/0.02076, allocations: 0 / 296.6 MB, free: 2.02 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.02076, allocations: 4.031 kB / 296.6 MB, free: 2.016 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.02076, allocations: 4 kB / 296.6 MB, free: 2.012 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001865/0.02095, allocations: 219 kB / 296.9 MB, free: 1.777 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.906e-05/0.02096, allocations: 0 / 296.9 MB, free: 1.777 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.95e-05/0.02103, allocations: 7.984 kB / 296.9 MB, free: 1.77 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.749e-05/0.02106, allocations: 8 kB / 296.9 MB, free: 1.762 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.28e-05/0.02107, allocations: 3.984 kB / 296.9 MB, free: 1.758 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.006065/0.02714, allocations: 59.62 kB / 296.9 MB, free: 1.695 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02714, allocations: 0 / 296.9 MB, free: 1.695 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002049/0.02734, allocations: 23.94 kB / 297 MB, free: 1.672 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.00163/0.02897, allocations: 0.6355 MB / 297.6 MB, free: 1.395 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001031/0.02908, allocations: 44.72 kB / 297.6 MB, free: 1.348 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.198e-06/0.02909, allocations: 8.062 kB / 297.6 MB, free: 1.34 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.805e-05/0.02912, allocations: 24.78 kB / 297.7 MB, free: 1.312 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000226/0.02935, allocations: 43.66 kB / 297.7 MB, free: 1.273 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004837/0.02983, allocations: 231.7 kB / 297.9 MB, free: 1.016 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.147e-05/0.02989, allocations: 71.33 kB / 298 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.326e-05/0.02993, allocations: 17.27 kB / 298 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.043e-05/0.03, allocations: 67.44 kB / 298.1 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of SimCode: time 4.11e-07/0.03, allocations: 0 / 298.1 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of Templates: time 0.01085/0.04085, allocations: 2.045 MB / 300.1 MB, free: 14.83 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1394499372690916]