Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.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.00115/0.00115, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001197/0.001197, allocations: 163.9 kB / 25.6 MB, free: 8.898 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 0.9098/0.9098, allocations: 177.1 MB / 206 MB, free: 4.508 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.139/0.139, allocations: 34.26 MB / 296.9 MB, free: 13.94 MB / 282.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.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34") translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 3.938 kB / 379.4 MB, free: 23.34 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.28e-05/2.441e-05, allocations: 2.312 kB / 379.4 MB, free: 23.33 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.002165/0.002189, allocations: 1.747 MB / 381.1 MB, free: 21.57 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001131/0.003321, allocations: 0.9936 MB / 382.1 MB, free: 20.57 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001137/0.004458, allocations: 3.938 kB / 382.1 MB, free: 20.57 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003283/0.004786, allocations: 35.83 kB / 382.2 MB, free: 20.53 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003784/0.005165, allocations: 99.41 kB / 382.3 MB, free: 20.43 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002969/0.005461, allocations: 83.59 kB / 382.3 MB, free: 20.35 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002022/0.005664, allocations: 107.6 kB / 382.4 MB, free: 20.25 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.591e-05/0.00576, allocations: 4 kB / 382.4 MB, free: 20.24 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001049/0.005864, allocations: 59.81 kB / 382.5 MB, free: 20.18 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.97e-05/0.005954, allocations: 27.92 kB / 382.5 MB, free: 20.16 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.909e-05/0.005973, allocations: 4 kB / 382.5 MB, free: 20.15 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001142/0.006087, allocations: 47.91 kB / 382.6 MB, free: 20.11 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.458e-05/0.006142, allocations: 23.86 kB / 382.6 MB, free: 20.08 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.217e-05/0.006184, allocations: 15.94 kB / 382.6 MB, free: 20.07 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002658/0.00645, allocations: 107.6 kB / 382.7 MB, free: 19.96 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.006453, allocations: 0 / 382.7 MB, free: 19.96 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.006454, allocations: 0 / 382.7 MB, free: 19.96 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.677e-06/0.006458, allocations: 0 / 382.7 MB, free: 19.96 MB / 314.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.0004538/0.006912, allocations: 447.8 kB / 383.2 MB, free: 19.49 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.006957, allocations: 12.03 kB / 383.2 MB, free: 19.48 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.75e-05/0.007015, allocations: 16.84 kB / 383.2 MB, free: 19.46 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002053/0.00722, allocations: 149.1 kB / 383.3 MB, free: 19.29 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.908e-05/0.007259, allocations: 12.31 kB / 383.3 MB, free: 19.28 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.386e-05/0.007283, allocations: 4.359 kB / 383.4 MB, free: 19.27 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001469/0.00743, allocations: 58.94 kB / 383.4 MB, free: 19.21 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/0.007445, allocations: 3.938 kB / 383.4 MB, free: 19.2 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.007456, allocations: 4 kB / 383.4 MB, free: 19.2 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.007464, allocations: 0 / 383.4 MB, free: 19.2 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.207e-05/0.007506, allocations: 11.98 kB / 383.4 MB, free: 19.19 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003436/0.00785, allocations: 260.3 kB / 383.7 MB, free: 18.91 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00012/0.00797, allocations: 55.11 kB / 383.7 MB, free: 18.84 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.911e-05/0.007999, allocations: 19.67 kB / 383.8 MB, free: 18.82 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.547e-05/0.008015, allocations: 0 / 383.8 MB, free: 18.82 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001201/0.008135, allocations: 72.97 kB / 383.8 MB, free: 18.73 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 2.104e-06/0.008137, allocations: 0 / 383.8 MB, free: 18.73 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004311/0.008568, allocations: 133.5 kB / 384 MB, free: 18.59 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.809e-05/0.008596, allocations: 51.41 kB / 384 MB, free: 18.53 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001236/0.00872, allocations: 229.8 kB / 384.2 MB, free: 18.29 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.261e-05/0.008732, allocations: 29.7 kB / 384.3 MB, free: 18.25 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.74e-05/0.00878, allocations: 154.8 kB / 384.4 MB, free: 18.1 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.397e-05/0.008814, allocations: 23.8 kB / 384.4 MB, free: 18.07 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.908e-05/0.008863, allocations: 39.28 kB / 384.5 MB, free: 18.03 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.242e-05/0.008935, allocations: 0.4923 MB / 385 MB, free: 17.52 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.399e-05/0.008959, allocations: 8 kB / 385 MB, free: 17.52 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.426e-05/0.008993, allocations: 31.34 kB / 385 MB, free: 17.48 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.036e-05/0.009054, allocations: 51.8 kB / 385.1 MB, free: 17.42 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.009055, allocations: 0 / 385.1 MB, free: 17.42 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001306/0.009186, allocations: 93.45 kB / 385.1 MB, free: 17.32 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.009199, allocations: 8 kB / 385.2 MB, free: 17.31 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.009204, allocations: 4 kB / 385.2 MB, free: 17.31 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.009214, allocations: 3.938 kB / 385.2 MB, free: 17.3 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.073e-05/0.009285, allocations: 15.98 kB / 385.2 MB, free: 17.29 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.009289, allocations: 7.938 kB / 385.2 MB, free: 17.28 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.858e-05/0.009328, allocations: 4 kB / 385.2 MB, free: 17.28 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.009335, allocations: 4 kB / 385.2 MB, free: 17.27 MB / 314.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 6.384e-05/0.009399, allocations: 160.6 kB / 385.4 MB, free: 17.11 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.299e-05/0.009422, allocations: 15.84 kB / 385.4 MB, free: 17.09 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001648/0.009587, allocations: 103.1 kB / 385.5 MB, free: 16.98 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.00959, allocations: 4 kB / 385.5 MB, free: 16.98 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-06/0.009592, allocations: 0 / 385.5 MB, free: 16.98 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.009597, allocations: 0 / 385.5 MB, free: 16.98 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002999/0.009896, allocations: 361.6 kB / 385.8 MB, free: 16.59 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.0099, allocations: 4 kB / 385.8 MB, free: 16.58 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.292e-05/0.009943, allocations: 8 kB / 385.8 MB, free: 16.57 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.009947, allocations: 0 / 385.8 MB, free: 16.57 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.787e-06/0.009955, allocations: 8 kB / 385.8 MB, free: 16.57 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.009958, allocations: 0 / 385.8 MB, free: 16.57 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.00996, allocations: 4.031 kB / 385.8 MB, free: 16.56 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001493/0.01011, allocations: 251.7 kB / 386.1 MB, free: 16.29 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.093e-05/0.01013, allocations: 11.94 kB / 386.1 MB, free: 16.28 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.489e-05/0.01016, allocations: 4 kB / 386.1 MB, free: 16.28 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.346e-05/0.01025, allocations: 4 kB / 386.1 MB, free: 16.27 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.687e-05/0.01029, allocations: 7.984 kB / 386.1 MB, free: 16.27 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.646e-05/0.0103, allocations: 4 kB / 386.1 MB, free: 16.26 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.759e-05/0.01037, allocations: 167.1 kB / 386.3 MB, free: 16.1 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01037, allocations: 0 / 386.3 MB, free: 16.1 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002785/0.01065, allocations: 31.92 kB / 386.3 MB, free: 16.07 MB / 314.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.001224/0.01187, allocations: 446.4 kB / 386.8 MB, free: 15.79 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001401/0.01201, allocations: 55.53 kB / 386.8 MB, free: 15.73 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.01201, allocations: 3.938 kB / 386.8 MB, free: 15.73 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.035e-05/0.01206, allocations: 19.69 kB / 386.8 MB, free: 15.71 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000284/0.01234, allocations: 42.69 kB / 386.9 MB, free: 15.67 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003037/0.01264, allocations: 223.8 kB / 387.1 MB, free: 15.42 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.771e-05/0.01267, allocations: 75.31 kB / 387.2 MB, free: 15.32 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.351e-05/0.0127, allocations: 8.984 kB / 387.2 MB, free: 15.31 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.575e-05/0.01276, allocations: 90.19 kB / 387.3 MB, free: 15.22 MB / 314.7 MB Notification: Performance of SimCode: time 9.21e-07/0.01276, allocations: 0 / 387.3 MB, free: 15.22 MB / 314.7 MB Notification: Performance of Templates: time 0.0033/0.01606, allocations: 2.065 MB / 389.3 MB, free: 13.19 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.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.1363433729857206]