Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46.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.0009138/0.0009138, allocations: 77.97 kB / 21.42 MB, free: 3.07 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.001102/0.001102, allocations: 168.6 kB / 24.82 MB, free: 8.875 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 1.154/1.154, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] 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.3562/0.3562, allocations: 34.27 MB / 296.1 MB, free: 0.7266 MB / 266.7 MB " [Timeout remaining time 179] 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.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.605e-06/2.605e-06, allocations: 0 / 378.6 MB, free: 2.305 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.978e-05/4.238e-05, allocations: 6.25 kB / 378.6 MB, free: 2.297 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.003122/0.003164, allocations: 1.761 MB / 380.3 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001606/0.00477, allocations: 0.9936 MB / 381.3 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001167/0.004887, allocations: 0 / 381.3 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000383/0.005269, allocations: 63.62 kB / 381.4 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004352/0.005705, allocations: 99.53 kB / 381.5 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002749/0.00598, allocations: 79.66 kB / 381.6 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001981/0.006178, allocations: 107.6 kB / 381.7 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001298/0.006307, allocations: 11.98 kB / 381.7 MB, free: 15.17 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001068/0.006414, allocations: 47.84 kB / 381.7 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.449e-05/0.006499, allocations: 35.83 kB / 381.8 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.617e-05/0.006515, allocations: 8 kB / 381.8 MB, free: 15.08 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001079/0.006623, allocations: 47.92 kB / 381.8 MB, free: 15.03 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.668e-05/0.006679, allocations: 23.92 kB / 381.9 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.656e-05/0.006726, allocations: 23.86 kB / 381.9 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001936/0.00692, allocations: 115.6 kB / 382 MB, free: 14.87 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.006923, allocations: 0 / 382 MB, free: 14.87 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.006925, allocations: 0 / 382 MB, free: 14.87 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.00693, allocations: 0 / 382 MB, free: 14.87 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.0005488/0.007479, allocations: 475.6 kB / 382.5 MB, free: 14.37 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.007526, allocations: 15.97 kB / 382.5 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.256e-05/0.007579, allocations: 20.84 kB / 382.5 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001891/0.007768, allocations: 165.2 kB / 382.7 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.96e-05/0.007788, allocations: 4.375 kB / 382.7 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.95e-05/0.007807, allocations: 384 / 382.7 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001373/0.007944, allocations: 66.94 kB / 382.7 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.007957, allocations: 3.938 kB / 382.7 MB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.574e-06/0.007965, allocations: 0 / 382.7 MB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.007971, allocations: 0 / 382.7 MB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.13e-05/0.008002, allocations: 15.98 kB / 382.7 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003081/0.008311, allocations: 260.4 kB / 383 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000102/0.008413, allocations: 55.16 kB / 383.1 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.581e-05/0.008438, allocations: 23.66 kB / 383.1 MB, free: 13.67 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.862e-05/0.008457, allocations: 0 / 383.1 MB, free: 13.67 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001249/0.008582, allocations: 72.92 kB / 383.1 MB, free: 13.59 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.422e-06/0.008583, allocations: 0 / 383.1 MB, free: 13.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003821/0.008965, allocations: 137.4 kB / 383.3 MB, free: 13.45 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.675e-05/0.009002, allocations: 55.41 kB / 383.3 MB, free: 13.38 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001615/0.009164, allocations: 265.6 kB / 383.6 MB, free: 13.1 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.942e-05/0.009183, allocations: 33.62 kB / 383.6 MB, free: 13.06 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.324e-05/0.009266, allocations: 170.8 kB / 383.8 MB, free: 12.89 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.295e-05/0.009299, allocations: 27.78 kB / 383.8 MB, free: 12.86 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.96e-05/0.009339, allocations: 31.36 kB / 383.9 MB, free: 12.82 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001655/0.009504, allocations: 0.5001 MB / 384.4 MB, free: 12.31 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.126e-05/0.009526, allocations: 8 kB / 384.4 MB, free: 12.3 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.287e-05/0.009558, allocations: 31.34 kB / 384.4 MB, free: 12.27 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.453e-05/0.009613, allocations: 51.38 kB / 384.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.009614, allocations: 0 / 384.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001069/0.009721, allocations: 93.45 kB / 384.5 MB, free: 12.11 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.009734, allocations: 12.03 kB / 384.5 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.00974, allocations: 0 / 384.5 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.009756, allocations: 3.938 kB / 384.5 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.378e-05/0.00983, allocations: 19.98 kB / 384.6 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.009834, allocations: 4 kB / 384.6 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.963e-05/0.009863, allocations: 0 / 384.6 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.553e-06/0.00987, allocations: 4 kB / 384.6 MB, free: 12.07 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 9.262e-05/0.009963, allocations: 160.6 kB / 384.7 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.043e-05/0.009983, allocations: 19.84 kB / 384.8 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001508/0.01013, allocations: 99.06 kB / 384.8 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.01014, allocations: 4 kB / 384.9 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.01014, allocations: 4.375 kB / 384.9 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.01014, allocations: 3.984 kB / 384.9 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003097/0.01045, allocations: 369.6 kB / 385.2 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.01046, allocations: 4 kB / 385.2 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.846e-05/0.01049, allocations: 11.98 kB / 385.2 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.01049, allocations: 0 / 385.2 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.531e-06/0.01049, allocations: 0 / 385.2 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.0105, allocations: 7.938 kB / 385.2 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.0105, allocations: 32 / 385.2 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000155/0.01065, allocations: 267.3 kB / 385.5 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.574e-05/0.01067, allocations: 15.91 kB / 385.5 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.701e-05/0.01069, allocations: 0 / 385.5 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.23e-05/0.01073, allocations: 7.984 kB / 385.5 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.146e-05/0.01076, allocations: 4 kB / 385.5 MB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.464e-05/0.01077, allocations: 7.984 kB / 385.5 MB, free: 11.02 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.778e-05/0.01086, allocations: 188.4 kB / 385.7 MB, free: 10.84 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.01086, allocations: 0 / 385.7 MB, free: 10.84 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001723/0.01104, allocations: 23.94 kB / 385.7 MB, free: 10.82 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.00102/0.01206, allocations: 436.1 kB / 386.2 MB, free: 10.55 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001163/0.01217, allocations: 55.56 kB / 386.2 MB, free: 10.49 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.01217, allocations: 0 / 386.2 MB, free: 10.49 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.906e-05/0.01221, allocations: 31.61 kB / 386.3 MB, free: 10.45 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002405/0.01245, allocations: 35.3 kB / 386.3 MB, free: 10.42 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003834/0.01284, allocations: 258.5 kB / 386.5 MB, free: 10.14 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.991e-05/0.01289, allocations: 75.45 kB / 386.6 MB, free: 10.04 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.242e-05/0.01293, allocations: 20.97 kB / 386.6 MB, free: 10.02 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.295e-05/0.013, allocations: 90.19 kB / 386.7 MB, free: 9.934 MB / 362.7 MB Notification: Performance of SimCode: time 5.11e-07/0.013, allocations: 0 / 386.7 MB, free: 9.934 MB / 362.7 MB Notification: Performance of Templates: time 0.003842/0.01684, allocations: 2.068 MB / 388.8 MB, free: 7.895 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.5613608709536493]