Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44.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.001491/0.001491, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.001501/0.001501, allocations: 157.7 kB / 24.27 MB, free: 176 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.532/1.532, allocations: 177.1 MB / 204.6 MB, free: 5.617 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.4072/0.4072, allocations: 34.26 MB / 295.3 MB, free: 0.6836 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.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44") translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 377.4 MB, free: 2.891 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.311e-05/3.493e-05, allocations: 6.312 kB / 377.4 MB, free: 2.883 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.003828/0.003863, allocations: 1.704 MB / 379.1 MB, free: 1.164 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001987/0.00585, allocations: 0.9892 MB / 380.1 MB, free: 176 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.333e-05/0.005933, allocations: 3.938 kB / 380.1 MB, free: 172 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003607/0.006294, allocations: 43.7 kB / 380.1 MB, free: 128 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003684/0.006662, allocations: 91.55 kB / 380.2 MB, free: 36 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002416/0.006904, allocations: 79.59 kB / 380.3 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002275/0.007131, allocations: 119.6 kB / 380.4 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.007234, allocations: 4 kB / 380.4 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001353/0.007369, allocations: 51.84 kB / 380.5 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001005/0.007469, allocations: 31.83 kB / 380.5 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.402e-05/0.007493, allocations: 4 kB / 380.5 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001158/0.007609, allocations: 43.92 kB / 380.5 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.885e-05/0.007678, allocations: 23.92 kB / 380.6 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.336e-05/0.007741, allocations: 23.92 kB / 380.6 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002724/0.008014, allocations: 123.5 kB / 380.7 MB, free: 15.54 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.008017, allocations: 0 / 380.7 MB, free: 15.54 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.008019, allocations: 4 kB / 380.7 MB, free: 15.54 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.591e-06/0.008024, allocations: 4 kB / 380.7 MB, free: 15.53 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.0007147/0.008739, allocations: 341.6 kB / 381 MB, free: 15.17 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/0.008787, allocations: 12.03 kB / 381.1 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.87e-05/0.008856, allocations: 12.84 kB / 381.1 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003073/0.009163, allocations: 158 kB / 381.2 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.52e-05/0.009189, allocations: 4.375 kB / 381.2 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.55e-05/0.009224, allocations: 8.359 kB / 381.2 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001734/0.009397, allocations: 58.17 kB / 381.3 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.009412, allocations: 3.938 kB / 381.3 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.009426, allocations: 3.984 kB / 381.3 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.009432, allocations: 8 kB / 381.3 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.244e-05/0.009515, allocations: 15.98 kB / 381.3 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004222/0.009937, allocations: 232.6 kB / 381.5 MB, free: 14.6 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002108/0.01015, allocations: 54.62 kB / 381.6 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.178e-05/0.01022, allocations: 24.78 kB / 381.6 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.676e-05/0.01024, allocations: 4 kB / 381.6 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001739/0.01041, allocations: 67.39 kB / 381.7 MB, free: 14.43 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.01041, allocations: 0 / 381.7 MB, free: 14.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007155/0.01113, allocations: 201.4 kB / 381.9 MB, free: 14.23 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.497e-05/0.01119, allocations: 51.41 kB / 381.9 MB, free: 14.16 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002838/0.01148, allocations: 211 kB / 382.1 MB, free: 13.95 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.888e-05/0.0115, allocations: 29.7 kB / 382.2 MB, free: 13.91 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.965e-05/0.0116, allocations: 100.1 kB / 382.3 MB, free: 13.81 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.747e-05/0.01165, allocations: 27.8 kB / 382.3 MB, free: 13.79 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.167e-05/0.0117, allocations: 25.72 kB / 382.3 MB, free: 13.75 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002055/0.01191, allocations: 322.8 kB / 382.6 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.91e-05/0.01198, allocations: 27.92 kB / 382.7 MB, free: 13.4 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001001/0.01208, allocations: 45.69 kB / 382.7 MB, free: 13.35 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001389/0.01222, allocations: 61.7 kB / 382.8 MB, free: 13.29 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.01222, allocations: 0 / 382.8 MB, free: 13.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002247/0.01244, allocations: 109.6 kB / 382.9 MB, free: 13.17 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.01246, allocations: 5.875 kB / 382.9 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.01247, allocations: 0 / 382.9 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.409e-05/0.01249, allocations: 4 kB / 382.9 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.01259, allocations: 16 kB / 382.9 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.0126, allocations: 0 / 382.9 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.155e-05/0.01265, allocations: 12.02 kB / 382.9 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.01266, allocations: 0 / 382.9 MB, free: 13.14 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.0001436/0.0128, allocations: 137.7 kB / 383.1 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.333e-05/0.01284, allocations: 15.91 kB / 383.1 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003048/0.01314, allocations: 123 kB / 383.2 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.01315, allocations: 4 kB / 383.2 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.01315, allocations: 0 / 383.2 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.01315, allocations: 0 / 383.2 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005209/0.01367, allocations: 358.9 kB / 383.5 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.01368, allocations: 4.031 kB / 383.5 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.1e-05/0.01372, allocations: 8 kB / 383.6 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.01372, allocations: 0 / 383.6 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.01373, allocations: 4 kB / 383.6 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.01373, allocations: 0 / 383.6 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.01373, allocations: 0 / 383.6 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003174/0.01405, allocations: 216.2 kB / 383.8 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.988e-05/0.01407, allocations: 11.91 kB / 383.8 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.796e-05/0.0141, allocations: 8 kB / 383.8 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.057e-05/0.01417, allocations: 3.938 kB / 383.8 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.976e-05/0.01422, allocations: 11.98 kB / 383.8 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.981e-05/0.01424, allocations: 4 kB / 383.8 MB, free: 12.17 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001721/0.01441, allocations: 167.2 kB / 384 MB, free: 12.01 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01441, allocations: 0 / 384 MB, free: 12.01 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002703/0.01468, allocations: 24 kB / 384 MB, free: 11.98 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.002296/0.01698, allocations: 498.8 kB / 384.5 MB, free: 11.7 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002076/0.01718, allocations: 59.91 kB / 384.5 MB, free: 11.64 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.01719, allocations: 0 / 384.5 MB, free: 11.64 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.801e-05/0.01727, allocations: 32.14 kB / 384.6 MB, free: 11.61 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003843/0.01766, allocations: 36.03 kB / 384.6 MB, free: 11.57 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005912/0.01825, allocations: 253.3 kB / 384.9 MB, free: 11.3 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003484/0.0186, allocations: 92.94 kB / 384.9 MB, free: 11.19 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.396e-05/0.01865, allocations: 12.97 kB / 385 MB, free: 11.17 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.608e-05/0.0187, allocations: 16.5 kB / 385 MB, free: 11.16 MB / 362.7 MB Notification: Performance of SimCode: time 7.92e-07/0.0187, allocations: 3.938 kB / 385 MB, free: 11.15 MB / 362.7 MB Notification: Performance of Templates: time 0.005882/0.02458, allocations: 1.878 MB / 386.9 MB, free: 9.305 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44.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.820911859977059]