Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.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.001414/0.001414, allocations: 84.3 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.001676/0.001676, allocations: 168.8 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.386/1.386, allocations: 177.2 MB / 204.3 MB, free: 9.164 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.2051/0.2051, allocations: 32.81 MB / 293.5 MB, free: 28 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.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 440.2 MB, free: 8.074 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.066e-05/3.205e-05, allocations: 2.281 kB / 440.2 MB, free: 8.07 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.002932/0.002964, allocations: 1.719 MB / 441.9 MB, free: 6.34 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002504/0.005468, allocations: 1.664 MB / 443.6 MB, free: 4.668 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.66e-05/0.005545, allocations: 0 / 443.6 MB, free: 4.668 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002814/0.005826, allocations: 43.7 kB / 443.6 MB, free: 4.625 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000387/0.006213, allocations: 107.4 kB / 443.7 MB, free: 4.52 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002082/0.006421, allocations: 79.66 kB / 443.8 MB, free: 4.441 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001894/0.006611, allocations: 107.6 kB / 443.9 MB, free: 4.336 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.873e-05/0.00669, allocations: 11.92 kB / 443.9 MB, free: 4.324 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001054/0.006795, allocations: 51.89 kB / 443.9 MB, free: 4.273 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001059/0.006901, allocations: 35.83 kB / 444 MB, free: 4.238 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.446e-05/0.006925, allocations: 8 kB / 444 MB, free: 4.23 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001885/0.007114, allocations: 107.8 kB / 444.1 MB, free: 4.125 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.956e-05/0.007163, allocations: 19.92 kB / 444.1 MB, free: 4.105 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.268e-05/0.007206, allocations: 23.92 kB / 444.1 MB, free: 4.082 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002899/0.007496, allocations: 175.5 kB / 444.3 MB, free: 3.91 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.007498, allocations: 7.938 kB / 444.3 MB, free: 3.902 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.72e-07/0.007499, allocations: 0 / 444.3 MB, free: 3.902 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.566e-06/0.007508, allocations: 0 / 444.3 MB, free: 3.902 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.0005082/0.008016, allocations: 349.5 kB / 444.7 MB, free: 3.531 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.657e-05/0.008043, allocations: 8.031 kB / 444.7 MB, free: 3.523 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.754e-05/0.00809, allocations: 12.89 kB / 444.7 MB, free: 3.512 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002095/0.0083, allocations: 145.2 kB / 444.8 MB, free: 3.348 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.008316, allocations: 8.312 kB / 444.8 MB, free: 3.34 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.976e-05/0.008335, allocations: 4.328 kB / 444.8 MB, free: 3.336 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001799/0.008515, allocations: 101 kB / 444.9 MB, free: 3.219 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.008526, allocations: 4 kB / 444.9 MB, free: 3.215 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.008537, allocations: 4 kB / 444.9 MB, free: 3.211 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.008542, allocations: 4 kB / 444.9 MB, free: 3.207 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.904e-05/0.008611, allocations: 15.98 kB / 445 MB, free: 3.191 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003346/0.008946, allocations: 240.5 kB / 445.2 MB, free: 2.926 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001663/0.009112, allocations: 62.55 kB / 445.3 MB, free: 2.855 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.224e-05/0.009164, allocations: 24.78 kB / 445.3 MB, free: 2.828 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.354e-06/0.009172, allocations: 0 / 445.3 MB, free: 2.828 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001812/0.009353, allocations: 71.39 kB / 445.4 MB, free: 2.746 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.883e-06/0.009355, allocations: 0 / 445.4 MB, free: 2.746 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005285/0.009883, allocations: 185.4 kB / 445.5 MB, free: 2.559 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.267e-05/0.009936, allocations: 77.11 kB / 445.6 MB, free: 2.465 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001845/0.01012, allocations: 173.3 kB / 445.8 MB, free: 2.289 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.006e-05/0.01014, allocations: 25.7 kB / 445.8 MB, free: 2.258 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.238e-05/0.0102, allocations: 100.1 kB / 445.9 MB, free: 2.156 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.589e-05/0.01023, allocations: 19.86 kB / 445.9 MB, free: 2.137 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.205e-05/0.01028, allocations: 29.64 kB / 445.9 MB, free: 2.102 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.01043, allocations: 326.8 kB / 446.3 MB, free: 1.773 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.139e-05/0.01049, allocations: 27.98 kB / 446.3 MB, free: 1.746 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.855e-05/0.01058, allocations: 68.27 kB / 446.4 MB, free: 1.664 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001299/0.01071, allocations: 65.69 kB / 446.4 MB, free: 1.594 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.01071, allocations: 0 / 446.4 MB, free: 1.594 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002025/0.01091, allocations: 101.5 kB / 446.5 MB, free: 1.488 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.01093, allocations: 8 kB / 446.5 MB, free: 1.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.01093, allocations: 0 / 446.5 MB, free: 1.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.01094, allocations: 0 / 446.5 MB, free: 1.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.053e-05/0.01102, allocations: 20.05 kB / 446.6 MB, free: 1.461 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.01103, allocations: 7.938 kB / 446.6 MB, free: 1.453 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.72e-05/0.01107, allocations: 0 / 446.6 MB, free: 1.453 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.01108, allocations: 4 kB / 446.6 MB, free: 1.449 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.0001101/0.01119, allocations: 130.4 kB / 446.7 MB, free: 1.312 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.665e-05/0.01122, allocations: 7.953 kB / 446.7 MB, free: 1.305 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000251/0.01147, allocations: 118.4 kB / 446.8 MB, free: 1.18 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.01147, allocations: 0 / 446.8 MB, free: 1.18 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.01148, allocations: 0 / 446.8 MB, free: 1.18 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.203e-06/0.01148, allocations: 3.984 kB / 446.8 MB, free: 1.176 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004555/0.01194, allocations: 363.1 kB / 447.2 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.01194, allocations: 0 / 447.2 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.243e-05/0.01198, allocations: 12.38 kB / 447.2 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.01199, allocations: 7.922 kB / 447.2 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.012, allocations: 4 kB / 447.2 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.012, allocations: 7.938 kB / 447.2 MB, free: 0.75 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.012, allocations: 0 / 447.2 MB, free: 0.75 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002709/0.01227, allocations: 216.2 kB / 447.4 MB, free: 0.5195 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.928e-05/0.01229, allocations: 7.938 kB / 447.4 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.573e-05/0.01232, allocations: 8.031 kB / 447.4 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.773e-05/0.0124, allocations: 8 kB / 447.4 MB, free: 0.4961 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.965e-05/0.01243, allocations: 7.922 kB / 447.4 MB, free: 500 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/0.01244, allocations: 4 kB / 447.5 MB, free: 496 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001224/0.01256, allocations: 133.5 kB / 447.6 MB, free: 364 kB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01256, allocations: 0 / 447.6 MB, free: 364 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002938/0.01286, allocations: 51.86 kB / 447.6 MB, free: 312 kB / 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.1628/0.1757, allocations: 0.5782 MB / 448.2 MB, free: 21.46 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003016/0.176, allocations: 61.52 kB / 448.3 MB, free: 21.46 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.176, allocations: 0 / 448.3 MB, free: 21.46 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.976e-05/0.176, allocations: 28.03 kB / 448.3 MB, free: 21.46 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004104/0.1764, allocations: 36.2 kB / 448.3 MB, free: 21.46 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004414/0.1769, allocations: 212.4 kB / 448.5 MB, free: 21.32 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.684e-05/0.177, allocations: 84.22 kB / 448.6 MB, free: 21.24 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.838e-05/0.177, allocations: 23.33 kB / 448.6 MB, free: 21.24 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.984e-05/0.1771, allocations: 24.11 kB / 448.7 MB, free: 21.23 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1771, allocations: 0 / 448.7 MB, free: 21.23 MB / 366.1 MB Notification: Performance of Templates: time 0.005995/0.1831, allocations: 2.51 MB / 451.2 MB, free: 21.04 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.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.648089744150639]