Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.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.00161/0.00161, allocations: 85.44 kB / 20.68 MB, free: 1.035 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.001396/0.001396, allocations: 163.6 kB / 23.95 MB, free: 4.172 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.39/1.39, allocations: 177.1 MB / 204.2 MB, free: 9.184 MB / 190.1 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.1956/0.1956, allocations: 32.8 MB / 293.5 MB, free: 36 kB / 270.1 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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 440.2 MB, free: 8.074 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.182e-05/3.386e-05, allocations: 2.281 kB / 440.2 MB, free: 8.07 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.003528/0.003562, allocations: 1.716 MB / 441.9 MB, free: 6.34 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002128/0.00569, allocations: 0.9734 MB / 442.9 MB, free: 5.363 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.698e-05/0.005777, allocations: 3.938 kB / 442.9 MB, free: 5.359 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000355/0.006132, allocations: 47.81 kB / 442.9 MB, free: 5.312 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003685/0.006501, allocations: 107.4 kB / 443 MB, free: 5.207 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002233/0.006724, allocations: 83.59 kB / 443.1 MB, free: 5.125 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002218/0.006946, allocations: 103.6 kB / 443.2 MB, free: 5.023 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.007054, allocations: 11.98 kB / 443.2 MB, free: 5.012 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001083/0.007162, allocations: 51.84 kB / 443.3 MB, free: 4.961 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.851e-05/0.007261, allocations: 27.91 kB / 443.3 MB, free: 4.934 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.76e-05/0.007288, allocations: 4 kB / 443.3 MB, free: 4.93 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.947e-05/0.007388, allocations: 47.92 kB / 443.3 MB, free: 4.883 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.757e-05/0.007455, allocations: 31.84 kB / 443.4 MB, free: 4.852 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.375e-05/0.007519, allocations: 23.86 kB / 443.4 MB, free: 4.828 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002416/0.00776, allocations: 135.5 kB / 443.5 MB, free: 4.695 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.007764, allocations: 0 / 443.5 MB, free: 4.695 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.007765, allocations: 0 / 443.5 MB, free: 4.695 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.00777, allocations: 0 / 443.5 MB, free: 4.695 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.0006224/0.008392, allocations: 385.2 kB / 443.9 MB, free: 4.289 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.008432, allocations: 8.031 kB / 443.9 MB, free: 4.281 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.597e-05/0.008488, allocations: 20.84 kB / 443.9 MB, free: 4.262 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002637/0.008751, allocations: 170.5 kB / 444.1 MB, free: 4.07 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.008766, allocations: 384 / 444.1 MB, free: 4.07 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.846e-05/0.008794, allocations: 4.375 kB / 444.1 MB, free: 4.066 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000168/0.008962, allocations: 62.16 kB / 444.2 MB, free: 4 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.008976, allocations: 3.938 kB / 444.2 MB, free: 3.996 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.008987, allocations: 0 / 444.2 MB, free: 3.996 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.008991, allocations: 0 / 444.2 MB, free: 3.996 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.46e-05/0.009075, allocations: 23.98 kB / 444.2 MB, free: 3.973 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004025/0.009478, allocations: 236.6 kB / 444.4 MB, free: 3.711 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002004/0.009678, allocations: 62.61 kB / 444.5 MB, free: 3.641 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.105e-05/0.009739, allocations: 28.72 kB / 444.5 MB, free: 3.609 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.931e-05/0.009758, allocations: 4 kB / 444.5 MB, free: 3.605 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000157/0.009915, allocations: 63.39 kB / 444.6 MB, free: 3.531 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 3.727e-06/0.009919, allocations: 3.984 kB / 444.6 MB, free: 3.527 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006135/0.01053, allocations: 201.2 kB / 444.8 MB, free: 3.324 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.214e-05/0.01057, allocations: 55.41 kB / 444.8 MB, free: 3.258 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003051/0.01088, allocations: 283.2 kB / 445.1 MB, free: 2.973 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.226e-05/0.0109, allocations: 29.7 kB / 445.1 MB, free: 2.938 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.462e-05/0.01099, allocations: 120.1 kB / 445.3 MB, free: 2.816 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.37e-05/0.01102, allocations: 27.78 kB / 445.3 MB, free: 2.789 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.111e-05/0.01106, allocations: 17.72 kB / 445.3 MB, free: 2.766 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001735/0.01123, allocations: 334.8 kB / 445.6 MB, free: 2.43 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.373e-05/0.0113, allocations: 20 kB / 445.6 MB, free: 2.41 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.2e-05/0.01137, allocations: 37.64 kB / 445.7 MB, free: 2.367 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001256/0.0115, allocations: 65.64 kB / 445.7 MB, free: 2.297 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.0115, allocations: 0 / 445.7 MB, free: 2.297 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002127/0.01171, allocations: 113.5 kB / 445.9 MB, free: 2.18 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.01172, allocations: 11.94 kB / 445.9 MB, free: 2.168 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.01173, allocations: 0 / 445.9 MB, free: 2.168 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.01174, allocations: 0 / 445.9 MB, free: 2.168 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.01185, allocations: 23.98 kB / 445.9 MB, free: 2.145 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.01185, allocations: 0 / 445.9 MB, free: 2.145 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.596e-05/0.0119, allocations: 384 / 445.9 MB, free: 2.145 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.01191, allocations: 4 kB / 445.9 MB, free: 2.141 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.0001362/0.01205, allocations: 142.4 kB / 446 MB, free: 1.992 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.64e-05/0.01209, allocations: 19.86 kB / 446.1 MB, free: 1.973 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002824/0.01238, allocations: 139.1 kB / 446.2 MB, free: 1.828 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.01238, allocations: 0 / 446.2 MB, free: 1.828 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.01238, allocations: 4 kB / 446.2 MB, free: 1.824 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.01239, allocations: 0 / 446.2 MB, free: 1.824 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004886/0.01288, allocations: 359.2 kB / 446.5 MB, free: 1.434 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.01288, allocations: 0 / 446.5 MB, free: 1.434 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.433e-05/0.01292, allocations: 11.98 kB / 446.6 MB, free: 1.422 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.01292, allocations: 3.938 kB / 446.6 MB, free: 1.418 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.01293, allocations: 4 kB / 446.6 MB, free: 1.414 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.01294, allocations: 32 / 446.6 MB, free: 1.414 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.01294, allocations: 4 kB / 446.6 MB, free: 1.41 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002806/0.01322, allocations: 220.2 kB / 446.8 MB, free: 1.176 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.366e-05/0.01324, allocations: 15.89 kB / 446.8 MB, free: 1.16 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.637e-05/0.01327, allocations: 4 kB / 446.8 MB, free: 1.156 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.618e-05/0.01334, allocations: 4 kB / 446.8 MB, free: 1.152 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.875e-05/0.01338, allocations: 7.984 kB / 446.8 MB, free: 1.145 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.321e-05/0.0134, allocations: 0 / 446.8 MB, free: 1.145 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002138/0.01361, allocations: 224.5 kB / 447 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.01361, allocations: 0 / 447 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002616/0.01387, allocations: 27.94 kB / 447.1 MB, free: 0.8984 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.001802/0.01567, allocations: 0.4913 MB / 447.5 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001834/0.01586, allocations: 55.97 kB / 447.6 MB, free: 0.5625 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.01586, allocations: 4.062 kB / 447.6 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000102/0.01596, allocations: 35.92 kB / 447.6 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003584/0.01632, allocations: 38.22 kB / 447.7 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005507/0.01687, allocations: 306.8 kB / 448 MB, free: 168 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001095/0.01698, allocations: 105.1 kB / 448.1 MB, free: 40 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.635e-05/0.01703, allocations: 21.05 kB / 448.1 MB, free: 16 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1608/0.1778, allocations: 21.25 kB / 448.1 MB, free: 21.24 MB / 366.1 MB Notification: Performance of SimCode: time 1.082e-06/0.1778, allocations: 1.5 kB / 448.1 MB, free: 21.24 MB / 366.1 MB Notification: Performance of Templates: time 0.004916/0.1828, allocations: 1.863 MB / 450 MB, free: 21.13 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.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.549465116113424]