Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59.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.001361/0.001361, allocations: 81.17 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.00166/0.00166, allocations: 164.9 kB / 23.95 MB, free: 4.168 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.484/1.484, allocations: 177.1 MB / 204.3 MB, free: 9.18 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.2174/0.2174, allocations: 34.28 MB / 294.9 MB, free: 14.57 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.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.063e-06/2.063e-06, allocations: 3.938 kB / 442.8 MB, free: 5.305 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.285e-05/3.492e-05, allocations: 5.375 kB / 442.8 MB, free: 5.301 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.003551/0.003586, allocations: 1.716 MB / 444.5 MB, free: 3.57 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002718/0.006304, allocations: 1.668 MB / 446.1 MB, free: 1.895 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.666e-05/0.006391, allocations: 0 / 446.1 MB, free: 1.895 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003143/0.006705, allocations: 43.7 kB / 446.2 MB, free: 1.852 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004016/0.007107, allocations: 99.47 kB / 446.3 MB, free: 1.754 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002312/0.007338, allocations: 83.59 kB / 446.4 MB, free: 1.672 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002098/0.007548, allocations: 107.7 kB / 446.5 MB, free: 1.566 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.007652, allocations: 4 kB / 446.5 MB, free: 1.562 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001209/0.007773, allocations: 59.77 kB / 446.5 MB, free: 1.504 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001327/0.007906, allocations: 39.89 kB / 446.6 MB, free: 1.465 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.529e-05/0.007931, allocations: 4 kB / 446.6 MB, free: 1.461 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002025/0.008134, allocations: 107.8 kB / 446.7 MB, free: 1.355 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.375e-05/0.008197, allocations: 19.88 kB / 446.7 MB, free: 1.336 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.333e-05/0.008251, allocations: 23.92 kB / 446.7 MB, free: 1.312 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003359/0.008587, allocations: 175.5 kB / 446.9 MB, free: 1.141 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.008592, allocations: 0 / 446.9 MB, free: 1.141 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.008593, allocations: 0 / 446.9 MB, free: 1.141 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.161e-05/0.008604, allocations: 0 / 446.9 MB, free: 1.141 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.0006572/0.009262, allocations: 361.4 kB / 447.3 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.009304, allocations: 16.03 kB / 447.3 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.948e-05/0.009363, allocations: 8.891 kB / 447.3 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002723/0.009635, allocations: 146.2 kB / 447.4 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.00965, allocations: 8.359 kB / 447.4 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.576e-05/0.009676, allocations: 8.266 kB / 447.4 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002265/0.009902, allocations: 97.03 kB / 447.5 MB, free: 448 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.009914, allocations: 0 / 447.5 MB, free: 448 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.009928, allocations: 7.938 kB / 447.5 MB, free: 440 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.009933, allocations: 4 kB / 447.5 MB, free: 436 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.926e-05/0.01002, allocations: 19.98 kB / 447.6 MB, free: 416 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004206/0.01044, allocations: 236.5 kB / 447.8 MB, free: 148 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001959/0.01064, allocations: 54.67 kB / 447.8 MB, free: 84 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.815e-05/0.01071, allocations: 24.78 kB / 447.9 MB, free: 56 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.175e-05/0.01072, allocations: 0 / 447.9 MB, free: 56 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2136/0.2243, allocations: 63.45 kB / 447.9 MB, free: 19.43 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 3.276e-06/0.2243, allocations: 0 / 447.9 MB, free: 19.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006616/0.225, allocations: 177.2 kB / 448.1 MB, free: 19.4 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.309e-05/0.225, allocations: 79 kB / 448.2 MB, free: 19.31 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001735/0.2252, allocations: 173 kB / 448.3 MB, free: 19.21 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.271e-05/0.2252, allocations: 30.11 kB / 448.4 MB, free: 19.18 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.904e-05/0.2253, allocations: 99.84 kB / 448.5 MB, free: 19.09 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.616e-05/0.2253, allocations: 24.62 kB / 448.5 MB, free: 19.08 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.252e-05/0.2253, allocations: 27.75 kB / 448.5 MB, free: 19.06 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.831e-05/0.2254, allocations: 324.1 kB / 448.8 MB, free: 18.75 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.152e-05/0.2254, allocations: 22.64 kB / 448.9 MB, free: 18.75 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.234e-05/0.2255, allocations: 69.77 kB / 448.9 MB, free: 18.7 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001133/0.2256, allocations: 62.55 kB / 449 MB, free: 18.68 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.2256, allocations: 2.406 kB / 449 MB, free: 18.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000185/0.2258, allocations: 104.6 kB / 449.1 MB, free: 18.64 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.2258, allocations: 9.469 kB / 449.1 MB, free: 18.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.2258, allocations: 0 / 449.1 MB, free: 18.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.2259, allocations: 1.922 kB / 449.1 MB, free: 18.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.94e-05/0.226, allocations: 18.92 kB / 449.1 MB, free: 18.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.226, allocations: 0.8438 kB / 449.1 MB, free: 18.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.298e-05/0.226, allocations: 3.078 kB / 449.1 MB, free: 18.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.388e-06/0.226, allocations: 3.938 kB / 449.1 MB, free: 18.64 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 7.498e-05/0.2261, allocations: 132.9 kB / 449.3 MB, free: 18.52 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.682e-05/0.2261, allocations: 13.53 kB / 449.3 MB, free: 18.52 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002512/0.2264, allocations: 123.4 kB / 449.4 MB, free: 18.48 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.2264, allocations: 2.281 kB / 449.4 MB, free: 18.48 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.2264, allocations: 0 / 449.4 MB, free: 18.48 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.2264, allocations: 0.7031 kB / 449.4 MB, free: 18.48 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004043/0.2268, allocations: 349.7 kB / 449.7 MB, free: 18.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.2268, allocations: 1.719 kB / 449.7 MB, free: 18.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.087e-05/0.2268, allocations: 13.8 kB / 449.8 MB, free: 18.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.2268, allocations: 3.938 kB / 449.8 MB, free: 18.2 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.2268, allocations: 5.719 kB / 449.8 MB, free: 18.19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.2269, allocations: 2.188 kB / 449.8 MB, free: 18.19 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2269, allocations: 0 / 449.8 MB, free: 18.19 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002179/0.2271, allocations: 213.3 kB / 450 MB, free: 18.02 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.224e-05/0.2271, allocations: 14.33 kB / 450 MB, free: 18.02 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.7e-05/0.2271, allocations: 1.688 kB / 450 MB, free: 18.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.99e-05/0.2272, allocations: 11.59 kB / 450 MB, free: 18.01 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.687e-05/0.2272, allocations: 8.766 kB / 450 MB, free: 18.01 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.18e-05/0.2273, allocations: 4.906 kB / 450 MB, free: 18.01 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001011/0.2274, allocations: 138.1 kB / 450.2 MB, free: 17.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2274, allocations: 0 / 450.2 MB, free: 17.91 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003273/0.2277, allocations: 51.05 kB / 450.2 MB, free: 17.91 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.002076/0.2298, allocations: 0.5913 MB / 450.8 MB, free: 17.73 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002143/0.23, allocations: 69.56 kB / 450.9 MB, free: 17.71 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.23, allocations: 1.312 kB / 450.9 MB, free: 17.71 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.813e-05/0.2301, allocations: 24.66 kB / 450.9 MB, free: 17.7 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003823/0.2304, allocations: 34.47 kB / 450.9 MB, free: 17.69 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004738/0.2309, allocations: 207.7 kB / 451.1 MB, free: 17.53 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.105e-05/0.231, allocations: 84 kB / 451.2 MB, free: 17.45 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.245e-05/0.2311, allocations: 18.84 kB / 451.2 MB, free: 17.45 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.957e-05/0.2311, allocations: 25.69 kB / 451.3 MB, free: 17.44 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2311, allocations: 0 / 451.3 MB, free: 17.44 MB / 366.1 MB Notification: Performance of Templates: time 0.006666/0.2378, allocations: 2.503 MB / 453.8 MB, free: 17.12 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59.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.05769594758749]