Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.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.001027/0.001027, allocations: 83.69 kB / 21.19 MB, free: 3.391 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.0009263/0.0009263, allocations: 165 kB / 24.56 MB, free: 20 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 0.9686/0.9686, allocations: 177.1 MB / 205 MB, free: 5.277 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.2674/0.2674, allocations: 34.26 MB / 295.7 MB, free: 0.7188 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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.072e-06/1.072e-06, allocations: 0 / 378.1 MB, free: 2.621 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.461e-05/1.568e-05, allocations: 6.312 kB / 378.1 MB, free: 2.613 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.002335/0.002351, allocations: 1.961 MB / 380.1 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00135/0.003701, allocations: 1.048 MB / 381.1 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.773e-05/0.003799, allocations: 3.938 kB / 381.1 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002428/0.004041, allocations: 43.66 kB / 381.2 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000284/0.004325, allocations: 103.4 kB / 381.3 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001967/0.004522, allocations: 95.64 kB / 381.4 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001716/0.004694, allocations: 155.4 kB / 381.5 MB, free: 15.19 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.882e-05/0.004772, allocations: 17.8 kB / 381.5 MB, free: 15.17 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.914e-05/0.004862, allocations: 79.8 kB / 381.6 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.272e-05/0.004934, allocations: 43.77 kB / 381.7 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.58e-05/0.00495, allocations: 4 kB / 381.7 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.519e-05/0.005025, allocations: 47.92 kB / 381.7 MB, free: 15 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.376e-05/0.005069, allocations: 27.91 kB / 381.7 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.02e-05/0.005109, allocations: 31.86 kB / 381.8 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001794/0.005289, allocations: 131.5 kB / 381.9 MB, free: 14.81 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.00529, allocations: 0 / 381.9 MB, free: 14.81 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.005291, allocations: 4 kB / 381.9 MB, free: 14.81 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.845e-06/0.005294, allocations: 0 / 381.9 MB, free: 14.81 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004478/0.005742, allocations: 0.4935 MB / 382.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.946e-05/0.005771, allocations: 8.031 kB / 382.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.831e-05/0.005819, allocations: 28.8 kB / 382.4 MB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001711/0.005991, allocations: 173.1 kB / 382.6 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.006006, allocations: 4.375 kB / 382.6 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.575e-05/0.006031, allocations: 8.375 kB / 382.6 MB, free: 14.03 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001939/0.006225, allocations: 151.5 kB / 382.8 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.006233, allocations: 3.938 kB / 382.8 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.006242, allocations: 4 kB / 382.8 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.006248, allocations: 0 / 382.8 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.318e-05/0.006301, allocations: 31.92 kB / 382.8 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004182/0.006719, allocations: 0.5833 MB / 383.4 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001705/0.00689, allocations: 75.09 kB / 383.4 MB, free: 13.1 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.686e-05/0.006927, allocations: 31.67 kB / 383.5 MB, free: 13.06 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.242e-05/0.006939, allocations: 0 / 383.5 MB, free: 13.06 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001065/0.007046, allocations: 102.7 kB / 383.6 MB, free: 12.94 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.042e-06/0.007047, allocations: 0 / 383.6 MB, free: 12.94 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001861/0.007233, allocations: 109.5 kB / 383.7 MB, free: 12.83 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.341e-05/0.007256, allocations: 55.41 kB / 383.7 MB, free: 12.76 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001363/0.007392, allocations: 247.1 kB / 384 MB, free: 12.5 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.007407, allocations: 29.7 kB / 384 MB, free: 12.47 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.427e-05/0.007481, allocations: 166.8 kB / 384.2 MB, free: 12.3 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.179e-05/0.007503, allocations: 31.73 kB / 384.2 MB, free: 12.27 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.613e-05/0.007539, allocations: 35.38 kB / 384.2 MB, free: 12.23 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.00765, allocations: 0.5 MB / 384.7 MB, free: 11.71 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.994e-05/0.00768, allocations: 16 kB / 384.8 MB, free: 11.7 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.727e-05/0.007727, allocations: 58.42 kB / 384.8 MB, free: 11.62 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.092e-05/0.007808, allocations: 86.36 kB / 384.9 MB, free: 11.52 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.00781, allocations: 0 / 384.9 MB, free: 11.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001272/0.007938, allocations: 121.4 kB / 385 MB, free: 11.39 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/0.007948, allocations: 4 kB / 385 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.007952, allocations: 0 / 385 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.007969, allocations: 4 kB / 385 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.055e-05/0.00803, allocations: 19.98 kB / 385 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.573e-06/0.008036, allocations: 4 kB / 385 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.578e-05/0.008072, allocations: 15.94 kB / 385.1 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.00808, allocations: 4 kB / 385.1 MB, free: 11.34 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.976e-05/0.00816, allocations: 170.8 kB / 385.2 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.008e-05/0.00818, allocations: 24.02 kB / 385.3 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001403/0.00832, allocations: 107.1 kB / 385.4 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.008324, allocations: 3.984 kB / 385.4 MB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.008327, allocations: 3.938 kB / 385.4 MB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.008331, allocations: 0 / 385.4 MB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001137/0.008445, allocations: 168.5 kB / 385.5 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.008446, allocations: 0 / 385.5 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.58e-05/0.008492, allocations: 8 kB / 385.5 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.008495, allocations: 4 kB / 385.5 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.008504, allocations: 0 / 385.5 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.008505, allocations: 0 / 385.5 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.008506, allocations: 4 kB / 385.5 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001762/0.008682, allocations: 160.8 kB / 385.7 MB, free: 10.63 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.777e-05/0.0087, allocations: 19.84 kB / 385.7 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.571e-05/0.008716, allocations: 7.984 kB / 385.7 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.732e-05/0.008743, allocations: 0 / 385.7 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.248e-05/0.008776, allocations: 11.98 kB / 385.7 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.264e-05/0.008788, allocations: 4 kB / 385.7 MB, free: 10.59 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.519e-05/0.008873, allocations: 175.1 kB / 385.9 MB, free: 10.42 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008874, allocations: 0 / 385.9 MB, free: 10.42 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001552/0.009029, allocations: 24 kB / 385.9 MB, free: 10.39 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.0007226/0.009751, allocations: 391.8 kB / 386.3 MB, free: 10.14 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001188/0.00987, allocations: 67.78 kB / 386.4 MB, free: 10.07 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.009872, allocations: 0 / 386.4 MB, free: 10.07 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.163e-05/0.009913, allocations: 35.61 kB / 386.4 MB, free: 10.04 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000189/0.0101, allocations: 43.03 kB / 386.5 MB, free: 10 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003613/0.01046, allocations: 254 kB / 386.7 MB, free: 9.727 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.05e-05/0.0105, allocations: 75.83 kB / 386.8 MB, free: 9.629 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.42e-05/0.01055, allocations: 21.55 kB / 386.8 MB, free: 9.605 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.231e-05/0.01058, allocations: 20.5 kB / 386.8 MB, free: 9.586 MB / 362.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01058, allocations: 0 / 386.8 MB, free: 9.586 MB / 362.7 MB Notification: Performance of Templates: time 0.003629/0.01421, allocations: 2.062 MB / 388.9 MB, free: 7.555 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.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.270636461209506]