Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.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.0008142/0.0008142, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.003147/0.003147, allocations: 160.7 kB / 24.7 MB, free: 9.418 MB / 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 0.8861/0.8861, allocations: 177.2 MB / 205 MB, free: 5.715 MB / 186.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.2742/0.2742, allocations: 32.8 MB / 294.2 MB, free: 1.188 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.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86") translateModel(ModelicaTest.Tables.CombiTimeTable.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 3.938 kB / 440.9 MB, free: 3.652 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.024e-05/3.244e-05, allocations: 2.281 kB / 440.9 MB, free: 3.648 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.003216/0.003249, allocations: 1.673 MB / 442.6 MB, free: 1.957 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0016/0.004849, allocations: 0.9609 MB / 443.6 MB, free: 0.9922 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001159/0.004965, allocations: 0 / 443.6 MB, free: 0.9922 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003756/0.005341, allocations: 71.66 kB / 443.6 MB, free: 0.9219 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004037/0.005744, allocations: 103.5 kB / 443.7 MB, free: 0.8203 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002258/0.00597, allocations: 79.59 kB / 443.8 MB, free: 0.7422 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000207/0.006177, allocations: 103.7 kB / 443.9 MB, free: 0.6406 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.439e-05/0.006231, allocations: 8.219 kB / 443.9 MB, free: 0.6328 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001232/0.006355, allocations: 63.77 kB / 444 MB, free: 0.5703 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001182/0.006473, allocations: 47.88 kB / 444 MB, free: 0.5234 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.945e-05/0.006492, allocations: 4 kB / 444 MB, free: 0.5195 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.253e-05/0.006585, allocations: 27.94 kB / 444.1 MB, free: 0.4922 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.254e-05/0.006657, allocations: 19.92 kB / 444.1 MB, free: 484 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.862e-05/0.006696, allocations: 19.92 kB / 444.1 MB, free: 464 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000182/0.006878, allocations: 99.64 kB / 444.2 MB, free: 364 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.006882, allocations: 4 kB / 444.2 MB, free: 360 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.006883, allocations: 0 / 444.2 MB, free: 360 kB / 410.7 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.006889, allocations: 3.984 kB / 444.2 MB, free: 356 kB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.2112/0.2181, allocations: 335.9 kB / 444.5 MB, free: 46.76 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.42e-05/0.2181, allocations: 8.844 kB / 444.5 MB, free: 46.76 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.747e-05/0.2182, allocations: 15.03 kB / 444.6 MB, free: 46.76 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003107/0.2185, allocations: 150.7 kB / 444.7 MB, free: 46.62 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.062e-05/0.2185, allocations: 384 / 444.7 MB, free: 46.62 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.435e-05/0.2186, allocations: 6.656 kB / 444.7 MB, free: 46.62 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001492/0.2187, allocations: 51.34 kB / 444.8 MB, free: 46.59 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.2187, allocations: 0 / 444.8 MB, free: 46.59 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.2187, allocations: 1.375 kB / 444.8 MB, free: 46.59 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.2187, allocations: 0 / 444.8 MB, free: 46.59 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.877e-05/0.2188, allocations: 27.28 kB / 444.8 MB, free: 46.58 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001534/0.2189, allocations: 125.1 kB / 444.9 MB, free: 46.46 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001208/0.2191, allocations: 49.98 kB / 445 MB, free: 46.44 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.332e-05/0.2191, allocations: 20.09 kB / 445 MB, free: 46.43 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.76e-05/0.2191, allocations: 3.656 kB / 445 MB, free: 46.43 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001341/0.2192, allocations: 67.27 kB / 445 MB, free: 46.38 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.2192, allocations: 1.625 kB / 445 MB, free: 46.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002148/0.2195, allocations: 106.6 kB / 445.2 MB, free: 46.34 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.975e-05/0.2195, allocations: 54.53 kB / 445.2 MB, free: 46.28 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001314/0.2196, allocations: 198.6 kB / 445.4 MB, free: 46.18 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.136e-06/0.2196, allocations: 28.05 kB / 445.4 MB, free: 46.15 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.429e-05/0.2197, allocations: 105.1 kB / 445.5 MB, free: 46.07 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.111e-05/0.2197, allocations: 14.55 kB / 445.5 MB, free: 46.06 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.041e-05/0.2197, allocations: 22.36 kB / 445.6 MB, free: 46.05 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.409e-05/0.2198, allocations: 322.9 kB / 445.9 MB, free: 45.73 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.866e-05/0.2198, allocations: 15.98 kB / 445.9 MB, free: 45.73 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.38e-05/0.2198, allocations: 28.95 kB / 445.9 MB, free: 45.72 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.27e-05/0.2199, allocations: 50.17 kB / 446 MB, free: 45.7 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.2199, allocations: 0 / 446 MB, free: 45.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.34e-05/0.22, allocations: 87.11 kB / 446.1 MB, free: 45.66 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.22, allocations: 5.781 kB / 446.1 MB, free: 45.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.22, allocations: 0 / 446.1 MB, free: 45.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.22, allocations: 2.75 kB / 446.1 MB, free: 45.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.848e-05/0.2201, allocations: 14.78 kB / 446.1 MB, free: 45.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.2201, allocations: 3.938 kB / 446.1 MB, free: 45.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.348e-05/0.2201, allocations: 7.828 kB / 446.1 MB, free: 45.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/0.2202, allocations: 2.812 kB / 446.1 MB, free: 45.66 MB / 410.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 (7): * Single equations (assignments): 7 * 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.1e-05/0.2202, allocations: 119.5 kB / 446.2 MB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.117e-05/0.2202, allocations: 20.77 kB / 446.2 MB, free: 45.54 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001512/0.2204, allocations: 98.75 kB / 446.3 MB, free: 45.51 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.2204, allocations: 3.562 kB / 446.3 MB, free: 45.51 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.2204, allocations: 0 / 446.3 MB, free: 45.51 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.2204, allocations: 8.938 kB / 446.3 MB, free: 45.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.969e-05/0.2205, allocations: 129.9 kB / 446.5 MB, free: 45.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.2205, allocations: 2.844 kB / 446.5 MB, free: 45.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.947e-05/0.2205, allocations: 3.062 kB / 446.5 MB, free: 45.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.2205, allocations: 0 / 446.5 MB, free: 45.38 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.2205, allocations: 2.719 kB / 446.5 MB, free: 45.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.2205, allocations: 3.047 kB / 446.5 MB, free: 45.38 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.2205, allocations: 3.812 kB / 446.5 MB, free: 45.38 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.943e-05/0.2206, allocations: 125.4 kB / 446.6 MB, free: 45.31 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.514e-05/0.2206, allocations: 11.53 kB / 446.6 MB, free: 45.3 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.469e-05/0.2206, allocations: 3.938 kB / 446.6 MB, free: 45.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.187e-05/0.2207, allocations: 6 kB / 446.6 MB, free: 45.3 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.017e-05/0.2207, allocations: 5.25 kB / 446.6 MB, free: 45.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.407e-05/0.2207, allocations: 2.219 kB / 446.6 MB, free: 45.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.724e-05/0.2208, allocations: 159.4 kB / 446.8 MB, free: 45.22 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2208, allocations: 3.844 kB / 446.8 MB, free: 45.22 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001476/0.2209, allocations: 15.69 kB / 446.8 MB, free: 45.22 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0007426/0.2217, allocations: 443.9 kB / 447.2 MB, free: 45.11 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001337/0.2218, allocations: 42.34 kB / 447.3 MB, free: 45.1 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2218, allocations: 3.938 kB / 447.3 MB, free: 45.1 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.336e-05/0.2218, allocations: 20.69 kB / 447.3 MB, free: 45.09 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001921/0.222, allocations: 31.56 kB / 447.3 MB, free: 45.08 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003529/0.2224, allocations: 232.1 kB / 447.6 MB, free: 44.91 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.984e-05/0.2224, allocations: 96.92 kB / 447.7 MB, free: 44.83 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.731e-05/0.2224, allocations: 17.56 kB / 447.7 MB, free: 44.82 MB / 410.7 MB Notification: Performance of SimCode: time 7.51e-07/0.2224, allocations: 0 / 447.7 MB, free: 44.82 MB / 410.7 MB Notification: Performance of Templates: time 0.002526/0.225, allocations: 1.775 MB / 449.5 MB, free: 44.64 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.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: 5.076075266115367]