Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19.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.001901/0.001901, allocations: 82.42 kB / 20.68 MB, free: 1.039 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.002329/0.002329, allocations: 168.3 kB / 23.96 MB, free: 4.164 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.527/1.527, allocations: 177.1 MB / 204.3 MB, free: 9.199 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.2173/0.2173, allocations: 34.27 MB / 294.9 MB, free: 14.6 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.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19") translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.315e-06/2.315e-06, allocations: 0 / 442.8 MB, free: 5.34 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.025e-05/3.256e-05, allocations: 2.281 kB / 442.8 MB, free: 5.336 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.003193/0.003225, allocations: 1.72 MB / 444.5 MB, free: 3.602 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001811/0.005036, allocations: 0.9742 MB / 445.5 MB, free: 2.621 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.49e-05/0.005111, allocations: 4 kB / 445.5 MB, free: 2.617 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002843/0.005395, allocations: 39.75 kB / 445.5 MB, free: 2.578 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003166/0.005712, allocations: 91.55 kB / 445.6 MB, free: 2.488 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002045/0.005916, allocations: 87.53 kB / 445.7 MB, free: 2.402 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001917/0.006108, allocations: 111.6 kB / 445.8 MB, free: 2.293 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.437e-05/0.006202, allocations: 4 kB / 445.8 MB, free: 2.289 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001097/0.006312, allocations: 63.75 kB / 445.8 MB, free: 2.227 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.998e-05/0.006392, allocations: 23.92 kB / 445.9 MB, free: 2.203 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.232e-05/0.006414, allocations: 4 kB / 445.9 MB, free: 2.199 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001002/0.006515, allocations: 43.97 kB / 445.9 MB, free: 2.156 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.409e-05/0.006579, allocations: 19.92 kB / 445.9 MB, free: 2.137 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.858e-05/0.006627, allocations: 15.94 kB / 445.9 MB, free: 2.121 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002233/0.006851, allocations: 119.5 kB / 446.1 MB, free: 2.004 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.006854, allocations: 4 kB / 446.1 MB, free: 2 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.006855, allocations: 0 / 446.1 MB, free: 2 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.07e-05/0.006866, allocations: 4 kB / 446.1 MB, free: 1.996 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006004/0.007466, allocations: 345.5 kB / 446.4 MB, free: 1.629 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.007505, allocations: 12.03 kB / 446.4 MB, free: 1.617 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.712e-05/0.007552, allocations: 12.84 kB / 446.4 MB, free: 1.605 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002483/0.0078, allocations: 154.2 kB / 446.6 MB, free: 1.43 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.858e-06/0.00781, allocations: 384 / 446.6 MB, free: 1.43 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.821e-05/0.007838, allocations: 8.312 kB / 446.6 MB, free: 1.422 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001577/0.007996, allocations: 54.23 kB / 446.6 MB, free: 1.363 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/0.008011, allocations: 3.938 kB / 446.7 MB, free: 1.359 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.008022, allocations: 4 kB / 446.7 MB, free: 1.355 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.008027, allocations: 0 / 446.7 MB, free: 1.355 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.567e-05/0.008123, allocations: 23.97 kB / 446.7 MB, free: 1.332 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003741/0.008497, allocations: 232.5 kB / 446.9 MB, free: 1.074 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001872/0.008684, allocations: 62.66 kB / 447 MB, free: 1.004 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.436e-05/0.008748, allocations: 24.78 kB / 447 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.999e-06/0.008758, allocations: 0 / 447 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000157/0.008915, allocations: 71.33 kB / 447.1 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.342e-06/0.008917, allocations: 3.938 kB / 447.1 MB, free: 0.8906 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005813/0.009498, allocations: 185.6 kB / 447.2 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.52e-05/0.009543, allocations: 55.41 kB / 447.3 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002109/0.009754, allocations: 206.2 kB / 447.5 MB, free: 436 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.008e-05/0.009774, allocations: 33.64 kB / 447.5 MB, free: 396 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.637e-05/0.009841, allocations: 96.14 kB / 447.6 MB, free: 296 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.521e-05/0.009876, allocations: 27.78 kB / 447.7 MB, free: 268 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.684e-05/0.009923, allocations: 25.72 kB / 447.7 MB, free: 236 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.1926/0.2025, allocations: 322.8 kB / 448 MB, free: 19.11 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001538/0.2026, allocations: 18.33 kB / 448 MB, free: 19.11 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001009/0.2027, allocations: 40.94 kB / 448.1 MB, free: 19.1 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001358/0.2029, allocations: 61.25 kB / 448.1 MB, free: 19.08 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.2029, allocations: 0 / 448.1 MB, free: 19.08 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002598/0.2031, allocations: 112.7 kB / 448.2 MB, free: 19.05 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.2032, allocations: 6.5 kB / 448.2 MB, free: 19.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.2032, allocations: 0 / 448.2 MB, free: 19.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.2032, allocations: 1.25 kB / 448.2 MB, free: 19.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001185/0.2033, allocations: 16.14 kB / 448.2 MB, free: 19.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.2033, allocations: 0.7031 kB / 448.2 MB, free: 19.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.078e-05/0.2034, allocations: 3.156 kB / 448.3 MB, free: 19.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.2034, allocations: 7.5 kB / 448.3 MB, free: 19.05 MB / 366.1 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.0001055/0.2035, allocations: 131.1 kB / 448.4 MB, free: 18.94 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.514e-05/0.2035, allocations: 10.98 kB / 448.4 MB, free: 18.94 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003043/0.2038, allocations: 125.5 kB / 448.5 MB, free: 18.9 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.2038, allocations: 2.016 kB / 448.5 MB, free: 18.9 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.2038, allocations: 3.938 kB / 448.5 MB, free: 18.9 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.2038, allocations: 3.141 kB / 448.5 MB, free: 18.9 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004353/0.2043, allocations: 348.5 kB / 448.9 MB, free: 18.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.2043, allocations: 1.219 kB / 448.9 MB, free: 18.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.307e-05/0.2043, allocations: 14.34 kB / 448.9 MB, free: 18.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.2043, allocations: 2.25 kB / 448.9 MB, free: 18.66 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.2043, allocations: 5.156 kB / 448.9 MB, free: 18.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.2043, allocations: 1.828 kB / 448.9 MB, free: 18.66 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.2043, allocations: 5.031 kB / 448.9 MB, free: 18.65 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002352/0.2046, allocations: 208.3 kB / 449.1 MB, free: 18.52 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.117e-05/0.2046, allocations: 13.67 kB / 449.1 MB, free: 18.52 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.996e-05/0.2046, allocations: 8.594 kB / 449.1 MB, free: 18.51 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.733e-05/0.2047, allocations: 7.531 kB / 449.1 MB, free: 18.51 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.877e-05/0.2048, allocations: 10.11 kB / 449.1 MB, free: 18.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.829e-05/0.2048, allocations: 7.172 kB / 449.1 MB, free: 18.51 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001276/0.2049, allocations: 150.9 kB / 449.3 MB, free: 18.43 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2049, allocations: 0 / 449.3 MB, free: 18.43 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000284/0.2052, allocations: 26.42 kB / 449.3 MB, free: 18.43 MB / 366.1 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.001863/0.207, allocations: 499.8 kB / 449.8 MB, free: 18.29 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002206/0.2073, allocations: 60.92 kB / 449.9 MB, free: 18.29 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2073, allocations: 3.938 kB / 449.9 MB, free: 18.29 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.17e-05/0.2073, allocations: 31.83 kB / 449.9 MB, free: 18.28 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003979/0.2077, allocations: 34.69 kB / 449.9 MB, free: 18.27 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004771/0.2082, allocations: 234.3 kB / 450.2 MB, free: 18.11 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.416e-05/0.2083, allocations: 98.34 kB / 450.3 MB, free: 18.03 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.315e-05/0.2084, allocations: 21.42 kB / 450.3 MB, free: 18.01 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.746e-05/0.2084, allocations: 17.34 kB / 450.3 MB, free: 18 MB / 366.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2084, allocations: 0 / 450.3 MB, free: 18 MB / 366.1 MB Notification: Performance of Templates: time 0.005431/0.2138, allocations: 1.842 MB / 452.1 MB, free: 17.77 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19.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.977853607386351]