Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42.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.002315/0.002315, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.002838/0.002838, allocations: 165.3 kB / 24.28 MB, free: 152 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.691/1.691, allocations: 177.1 MB / 204.6 MB, free: 5.598 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.4148/0.4148, allocations: 34.26 MB / 295.3 MB, free: 0.6914 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.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 377.4 MB, free: 2.902 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.252e-05/3.44e-05, allocations: 6.312 kB / 377.4 MB, free: 2.895 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.004057/0.004092, allocations: 1.73 MB / 379.1 MB, free: 1.152 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002232/0.006323, allocations: 1.005 MB / 380.1 MB, free: 144 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.658e-05/0.00641, allocations: 0 / 380.1 MB, free: 144 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003478/0.006758, allocations: 39.7 kB / 380.2 MB, free: 104 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004255/0.007183, allocations: 99.47 kB / 380.2 MB, free: 4 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003422/0.007525, allocations: 83.59 kB / 380.3 MB, free: 15.92 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002539/0.007779, allocations: 107.6 kB / 380.4 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.007881, allocations: 12 kB / 380.4 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001417/0.008023, allocations: 55.83 kB / 380.5 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.33e-05/0.008116, allocations: 23.91 kB / 380.5 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.52e-05/0.008141, allocations: 7.938 kB / 380.5 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001275/0.008269, allocations: 47.91 kB / 380.6 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.668e-05/0.008335, allocations: 19.92 kB / 380.6 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.052e-05/0.008386, allocations: 19.94 kB / 380.6 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000273/0.008659, allocations: 123.5 kB / 380.7 MB, free: 15.51 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.008663, allocations: 0 / 380.7 MB, free: 15.51 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.008664, allocations: 4 kB / 380.7 MB, free: 15.51 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.00867, allocations: 4 kB / 380.7 MB, free: 15.5 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.0007641/0.009434, allocations: 455.5 kB / 381.2 MB, free: 15.02 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.00948, allocations: 8.031 kB / 381.2 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.965e-05/0.009559, allocations: 16.84 kB / 381.2 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002812/0.00984, allocations: 156.9 kB / 381.4 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.009854, allocations: 4.375 kB / 381.4 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.004e-05/0.009875, allocations: 384 / 381.4 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001557/0.01003, allocations: 58.17 kB / 381.4 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.01005, allocations: 3.938 kB / 381.4 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.01006, allocations: 4 kB / 381.4 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.01006, allocations: 4 kB / 381.4 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.702e-05/0.01014, allocations: 15.97 kB / 381.5 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006624/0.0108, allocations: 303.8 kB / 381.8 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002017/0.01101, allocations: 59.11 kB / 381.8 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.469e-05/0.01107, allocations: 27.61 kB / 381.8 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.899e-05/0.01109, allocations: 4 kB / 381.8 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000185/0.01127, allocations: 73.05 kB / 381.9 MB, free: 14.2 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.953e-06/0.01128, allocations: 0 / 381.9 MB, free: 14.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006364/0.01191, allocations: 181.3 kB / 382.1 MB, free: 14.02 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.283e-05/0.01197, allocations: 55.41 kB / 382.1 MB, free: 13.95 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002746/0.01224, allocations: 253.9 kB / 382.4 MB, free: 13.69 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.893e-05/0.01227, allocations: 29.7 kB / 382.4 MB, free: 13.65 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001327/0.0124, allocations: 158.8 kB / 382.6 MB, free: 13.49 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.287e-05/0.01244, allocations: 23.81 kB / 382.6 MB, free: 13.47 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.676e-05/0.01251, allocations: 35.36 kB / 382.6 MB, free: 13.43 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002941/0.01281, allocations: 0.5001 MB / 383.1 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.812e-05/0.01286, allocations: 20 kB / 383.2 MB, free: 12.89 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.921e-05/0.01294, allocations: 43.67 kB / 383.2 MB, free: 12.84 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001351/0.01308, allocations: 75.36 kB / 383.3 MB, free: 12.76 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.01308, allocations: 4 kB / 383.3 MB, free: 12.76 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002218/0.0133, allocations: 109.5 kB / 383.4 MB, free: 12.64 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.01332, allocations: 8 kB / 383.4 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.01332, allocations: 0 / 383.4 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.01334, allocations: 0 / 383.4 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.06e-05/0.01343, allocations: 12 kB / 383.4 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.01344, allocations: 4 kB / 383.4 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.481e-05/0.01348, allocations: 3.984 kB / 383.4 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.388e-06/0.01349, allocations: 4 kB / 383.4 MB, free: 12.61 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.0001537/0.01365, allocations: 176.4 kB / 383.6 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.25e-05/0.01368, allocations: 19.94 kB / 383.6 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002683/0.01395, allocations: 115.1 kB / 383.7 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.01395, allocations: 4 kB / 383.7 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.01396, allocations: 0 / 383.7 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.01396, allocations: 0 / 383.7 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005761/0.01454, allocations: 424.9 kB / 384.1 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.01454, allocations: 0 / 384.1 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.036e-05/0.01458, allocations: 8 kB / 384.1 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.01458, allocations: 4 kB / 384.1 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.01459, allocations: 0 / 384.1 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.01459, allocations: 4.031 kB / 384.2 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.0146, allocations: 0 / 384.2 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003323/0.01493, allocations: 275.4 kB / 384.4 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.69e-05/0.01495, allocations: 11.91 kB / 384.4 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.352e-05/0.01498, allocations: 0 / 384.4 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.83e-05/0.01505, allocations: 8 kB / 384.4 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.611e-05/0.01509, allocations: 7.984 kB / 384.4 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.471e-05/0.01512, allocations: 4 kB / 384.5 MB, free: 11.49 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000174/0.01529, allocations: 192.1 kB / 384.6 MB, free: 11.3 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01529, allocations: 3.938 kB / 384.6 MB, free: 11.3 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002598/0.01555, allocations: 24 kB / 384.7 MB, free: 11.27 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.003414/0.01897, allocations: 492.2 kB / 385.1 MB, free: 11 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002529/0.01922, allocations: 67.59 kB / 385.2 MB, free: 10.93 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.01922, allocations: 8.062 kB / 385.2 MB, free: 10.92 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.932e-05/0.01931, allocations: 39.83 kB / 385.3 MB, free: 10.88 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004124/0.01972, allocations: 40.09 kB / 385.3 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008666/0.02059, allocations: 237.8 kB / 385.5 MB, free: 10.57 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001204/0.02071, allocations: 92.81 kB / 385.6 MB, free: 10.46 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.035e-05/0.02077, allocations: 21.02 kB / 385.6 MB, free: 10.44 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.284e-05/0.02082, allocations: 20.48 kB / 385.7 MB, free: 10.42 MB / 362.7 MB Notification: Performance of SimCode: time 1.092e-06/0.02082, allocations: 0 / 385.7 MB, free: 10.42 MB / 362.7 MB Notification: Performance of Templates: time 0.00591/0.02673, allocations: 1.862 MB / 387.5 MB, free: 8.582 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42.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.135982167092152]