Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24.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.001769/0.001769, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.00193/0.00193, allocations: 165.7 kB / 24.27 MB, free: 168 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.524/1.524, allocations: 177.2 MB / 204.6 MB, free: 5.574 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.3845/0.3845, allocations: 34.26 MB / 295.3 MB, free: 0.6875 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.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24") translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 377.4 MB, free: 2.859 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.68e-05/2.836e-05, allocations: 2.312 kB / 377.4 MB, free: 2.855 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.003232/0.003261, allocations: 1.719 MB / 379.1 MB, free: 1.121 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001909/0.00517, allocations: 0.9664 MB / 380.1 MB, free: 152 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.21e-05/0.005242, allocations: 0 / 380.1 MB, free: 152 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003265/0.005569, allocations: 51.62 kB / 380.1 MB, free: 100 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00038/0.005949, allocations: 103.6 kB / 380.2 MB, free: 15.99 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002323/0.006181, allocations: 83.55 kB / 380.3 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001964/0.006377, allocations: 99.64 kB / 380.4 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.75e-05/0.006475, allocations: 15.97 kB / 380.4 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001154/0.00659, allocations: 47.84 kB / 380.5 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.773e-05/0.006678, allocations: 27.86 kB / 380.5 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.159e-05/0.0067, allocations: 4 kB / 380.5 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000116/0.006816, allocations: 47.91 kB / 380.5 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.428e-05/0.00688, allocations: 23.92 kB / 380.6 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.953e-05/0.006969, allocations: 23.92 kB / 380.6 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002555/0.007225, allocations: 119.6 kB / 380.7 MB, free: 15.51 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.00723, allocations: 0 / 380.7 MB, free: 15.51 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.007231, allocations: 0 / 380.7 MB, free: 15.51 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.007236, allocations: 0 / 380.7 MB, free: 15.51 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.0006801/0.007917, allocations: 353.5 kB / 381 MB, free: 15.14 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.007954, allocations: 8.031 kB / 381.1 MB, free: 15.13 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.279e-05/0.008027, allocations: 20.83 kB / 381.1 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003225/0.00835, allocations: 154.1 kB / 381.2 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.878e-05/0.008368, allocations: 4.375 kB / 381.2 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.702e-05/0.008395, allocations: 8.359 kB / 381.2 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001743/0.00857, allocations: 58.23 kB / 381.3 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.008585, allocations: 3.938 kB / 381.3 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.008596, allocations: 0 / 381.3 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-06/0.008601, allocations: 0 / 381.3 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.722e-05/0.008698, allocations: 23.92 kB / 381.3 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004373/0.009136, allocations: 232.6 kB / 381.5 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002042/0.00934, allocations: 58.67 kB / 381.6 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.783e-05/0.009408, allocations: 24.78 kB / 381.6 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.384e-05/0.009422, allocations: 4 kB / 381.6 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001767/0.009598, allocations: 71.33 kB / 381.7 MB, free: 14.39 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.213e-06/0.0096, allocations: 0 / 381.7 MB, free: 14.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006207/0.01022, allocations: 189.4 kB / 381.9 MB, free: 14.2 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.753e-05/0.01027, allocations: 55.41 kB / 381.9 MB, free: 14.14 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002432/0.01051, allocations: 211 kB / 382.1 MB, free: 13.92 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.878e-05/0.01054, allocations: 29.7 kB / 382.2 MB, free: 13.89 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.711e-05/0.01064, allocations: 108.1 kB / 382.3 MB, free: 13.78 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.176e-05/0.01073, allocations: 19.81 kB / 382.3 MB, free: 13.76 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.997e-05/0.01078, allocations: 29.7 kB / 382.3 MB, free: 13.72 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.01095, allocations: 322.8 kB / 382.6 MB, free: 13.4 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.928e-05/0.01102, allocations: 20.19 kB / 382.7 MB, free: 13.38 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.52e-05/0.01111, allocations: 45.69 kB / 382.7 MB, free: 13.33 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001424/0.01125, allocations: 69.66 kB / 382.8 MB, free: 13.25 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.01125, allocations: 0 / 382.8 MB, free: 13.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000222/0.01147, allocations: 109.5 kB / 382.9 MB, free: 13.14 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.01149, allocations: 8 kB / 382.9 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.0115, allocations: 0 / 382.9 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/0.01152, allocations: 4.031 kB / 382.9 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.01163, allocations: 15.98 kB / 382.9 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.01164, allocations: 4 kB / 382.9 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.08e-05/0.01169, allocations: 0 / 382.9 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.0117, allocations: 4 kB / 382.9 MB, free: 13.11 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.0001414/0.01184, allocations: 137.1 kB / 383.1 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.732e-05/0.01188, allocations: 15.91 kB / 383.1 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003203/0.0122, allocations: 127.1 kB / 383.2 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.0122, allocations: 0 / 383.2 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.301e-06/0.01221, allocations: 4 kB / 383.2 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.01222, allocations: 0 / 383.2 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006107/0.01283, allocations: 354.9 kB / 383.5 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.01283, allocations: 0 / 383.5 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.934e-05/0.01288, allocations: 15.92 kB / 383.6 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.01288, allocations: 4 kB / 383.6 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.01289, allocations: 0 / 383.6 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.0129, allocations: 0 / 383.6 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.0129, allocations: 0 / 383.6 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00033/0.01323, allocations: 220.2 kB / 383.8 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.229e-05/0.01326, allocations: 19.92 kB / 383.8 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.76e-05/0.01329, allocations: 0 / 383.8 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.68e-05/0.01338, allocations: 7.938 kB / 383.8 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.241e-05/0.01344, allocations: 11.98 kB / 383.8 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.01346, allocations: 4 kB / 383.8 MB, free: 12.13 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001907/0.01365, allocations: 159.2 kB / 384 MB, free: 11.98 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01365, allocations: 0 / 384 MB, free: 11.98 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003006/0.01395, allocations: 23.98 kB / 384 MB, free: 11.95 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.002322/0.01627, allocations: 0.4886 MB / 384.5 MB, free: 11.67 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002225/0.01649, allocations: 55.91 kB / 384.5 MB, free: 11.61 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.01649, allocations: 4 kB / 384.5 MB, free: 11.61 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.6e-05/0.01658, allocations: 32.08 kB / 384.6 MB, free: 11.58 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004096/0.01699, allocations: 44.17 kB / 384.6 MB, free: 11.54 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005982/0.01759, allocations: 241.4 kB / 384.9 MB, free: 11.27 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001147/0.0177, allocations: 92.8 kB / 384.9 MB, free: 11.16 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.28e-05/0.01776, allocations: 12.98 kB / 385 MB, free: 11.14 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.203e-05/0.01781, allocations: 24.48 kB / 385 MB, free: 11.12 MB / 362.7 MB Notification: Performance of SimCode: time 9.02e-07/0.01781, allocations: 7.938 kB / 385 MB, free: 11.11 MB / 362.7 MB Notification: Performance of Templates: time 0.005612/0.02342, allocations: 1.86 MB / 386.9 MB, free: 9.281 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24.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.7894389890134335]