Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.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.002562/0.002562, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.003054/0.003054, allocations: 165.3 kB / 24.27 MB, free: 156 kB / 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 1.606/1.606, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 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.3492/0.3492, allocations: 34.26 MB / 295.3 MB, free: 0.6719 MB / 266.7 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.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.552e-06/1.552e-06, allocations: 0 / 377.4 MB, free: 2.887 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.386e-05/3.542e-05, allocations: 6.25 kB / 377.4 MB, free: 2.879 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.003894/0.00393, allocations: 1.731 MB / 379.1 MB, free: 1.133 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002231/0.006161, allocations: 1.005 MB / 380.1 MB, free: 128 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.824e-05/0.006239, allocations: 4 kB / 380.1 MB, free: 124 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003439/0.006583, allocations: 43.7 kB / 380.2 MB, free: 80 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003955/0.006978, allocations: 107.5 kB / 380.3 MB, free: 15.97 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002389/0.007217, allocations: 79.61 kB / 380.3 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002146/0.007432, allocations: 107.6 kB / 380.4 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.552e-05/0.007528, allocations: 12 kB / 380.5 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001307/0.007658, allocations: 59.81 kB / 380.5 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.114e-05/0.007749, allocations: 19.92 kB / 380.5 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.416e-05/0.007773, allocations: 4 kB / 380.5 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001265/0.0079, allocations: 47.86 kB / 380.6 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.788e-05/0.007978, allocations: 27.91 kB / 380.6 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.6e-05/0.008034, allocations: 19.92 kB / 380.6 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002684/0.008302, allocations: 127.5 kB / 380.8 MB, free: 15.48 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.008307, allocations: 0 / 380.8 MB, free: 15.48 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.008308, allocations: 0 / 380.8 MB, free: 15.48 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.443e-06/0.008315, allocations: 8 kB / 380.8 MB, free: 15.47 MB / 362.7 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.0008899/0.009205, allocations: 467.4 kB / 381.2 MB, free: 14.98 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.009246, allocations: 8.031 kB / 381.2 MB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.842e-05/0.009314, allocations: 16.84 kB / 381.2 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002899/0.009604, allocations: 153.2 kB / 381.4 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.00962, allocations: 4.375 kB / 381.4 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.42e-05/0.009645, allocations: 4.375 kB / 381.4 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001709/0.009815, allocations: 54.17 kB / 381.5 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.777e-05/0.009833, allocations: 7.938 kB / 381.5 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.009845, allocations: 0 / 381.5 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.00985, allocations: 4 kB / 381.5 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.496e-05/0.009935, allocations: 23.91 kB / 381.5 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005176/0.01045, allocations: 299.8 kB / 381.8 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002123/0.01067, allocations: 71.09 kB / 381.8 MB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.438e-05/0.01073, allocations: 19.62 kB / 381.9 MB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.335e-05/0.01075, allocations: 4 kB / 381.9 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001949/0.01095, allocations: 76.98 kB / 381.9 MB, free: 14.14 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.01095, allocations: 0 / 381.9 MB, free: 14.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006575/0.01161, allocations: 189.3 kB / 382.1 MB, free: 13.95 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.56e-05/0.01166, allocations: 51.41 kB / 382.2 MB, free: 13.89 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003105/0.01197, allocations: 287.1 kB / 382.5 MB, free: 13.59 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.246e-05/0.012, allocations: 25.7 kB / 382.5 MB, free: 13.56 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001248/0.01212, allocations: 166.9 kB / 382.7 MB, free: 13.39 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.288e-05/0.01215, allocations: 19.86 kB / 382.7 MB, free: 13.38 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.895e-05/0.01221, allocations: 31.36 kB / 382.7 MB, free: 13.34 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002749/0.01249, allocations: 0.504 MB / 383.2 MB, free: 12.82 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.018e-05/0.01255, allocations: 19.98 kB / 383.2 MB, free: 12.8 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.823e-05/0.01263, allocations: 43.31 kB / 383.3 MB, free: 12.75 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001401/0.01277, allocations: 71.36 kB / 383.3 MB, free: 12.67 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.01277, allocations: 4 kB / 383.3 MB, free: 12.67 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002156/0.01298, allocations: 113.5 kB / 383.5 MB, free: 12.55 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.013, allocations: 8 kB / 383.5 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.01301, allocations: 0 / 383.5 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.01302, allocations: 0 / 383.5 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.035e-05/0.01311, allocations: 12 kB / 383.5 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.295e-06/0.01312, allocations: 4 kB / 383.5 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.74e-05/0.01317, allocations: 3.984 kB / 383.5 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.01318, allocations: 4 kB / 383.5 MB, free: 12.52 MB / 362.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 (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.0001479/0.01333, allocations: 172.4 kB / 383.6 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.598e-05/0.01336, allocations: 23.94 kB / 383.7 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002685/0.01363, allocations: 115.1 kB / 383.8 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.01364, allocations: 4 kB / 383.8 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.01364, allocations: 0 / 383.8 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/0.01365, allocations: 0 / 383.8 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005553/0.0142, allocations: 424.9 kB / 384.2 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.01421, allocations: 0 / 384.2 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4e-05/0.01425, allocations: 8 kB / 384.2 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.01425, allocations: 3.938 kB / 384.2 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.88e-05/0.01427, allocations: 11.98 kB / 384.2 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.01427, allocations: 4.031 kB / 384.2 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.01427, allocations: 0 / 384.2 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004382/0.01471, allocations: 271.4 kB / 384.5 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.466e-05/0.01473, allocations: 11.95 kB / 384.5 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.703e-05/0.01476, allocations: 4 kB / 384.5 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.836e-05/0.01483, allocations: 3.984 kB / 384.5 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.207e-05/0.01487, allocations: 7.984 kB / 384.5 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.087e-05/0.01489, allocations: 12.36 kB / 384.5 MB, free: 11.38 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001684/0.01506, allocations: 191.1 kB / 384.7 MB, free: 11.19 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01506, allocations: 0 / 384.7 MB, free: 11.19 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002572/0.01532, allocations: 23.98 kB / 384.7 MB, free: 11.17 MB / 362.7 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.00339/0.01871, allocations: 499 kB / 385.2 MB, free: 10.88 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001987/0.0189, allocations: 63.66 kB / 385.3 MB, free: 10.82 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.01891, allocations: 8 kB / 385.3 MB, free: 10.81 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.057e-05/0.019, allocations: 43.77 kB / 385.3 MB, free: 10.76 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003799/0.01938, allocations: 38.73 kB / 385.4 MB, free: 10.73 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005424/0.01992, allocations: 249.4 kB / 385.6 MB, free: 10.45 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001186/0.02004, allocations: 104.7 kB / 385.7 MB, free: 10.33 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.248e-05/0.02009, allocations: 20.97 kB / 385.8 MB, free: 10.31 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.952e-05/0.02014, allocations: 24.48 kB / 385.8 MB, free: 10.29 MB / 362.7 MB Notification: Performance of SimCode: time 6.51e-07/0.02014, allocations: 0 / 385.8 MB, free: 10.29 MB / 362.7 MB Notification: Performance of Templates: time 0.005613/0.02575, allocations: 1.865 MB / 387.6 MB, free: 8.445 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.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.9207012029364705]