Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.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.001269/0.001269, allocations: 88.2 kB / 20.94 MB, free: 3.598 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.001487/0.001487, allocations: 165 kB / 24.24 MB, free: 308 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.137/1.137, allocations: 158.6 MB / 186 MB, free: 2.91 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.223/0.223, allocations: 32.37 MB / 270.7 MB, free: 14.78 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53") translateModel(ModelicaTest.Tables.CombiTimeTable.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.525e-06/2.525e-06, allocations: 0 / 347.7 MB, free: 9.711 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.247e-05/4.5e-05, allocations: 10.19 kB / 347.7 MB, free: 9.699 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.003231/0.003276, allocations: 1.74 MB / 349.5 MB, free: 7.953 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001302/0.004578, allocations: 0.7959 MB / 350.3 MB, free: 7.148 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001307/0.004709, allocations: 0 / 350.3 MB, free: 7.148 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005042/0.005213, allocations: 47.75 kB / 350.3 MB, free: 7.102 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003185/0.005532, allocations: 63.69 kB / 350.4 MB, free: 7.039 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002774/0.005809, allocations: 79.72 kB / 350.5 MB, free: 6.961 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002017/0.006011, allocations: 103.7 kB / 350.6 MB, free: 6.859 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00016/0.006171, allocations: 4.234 kB / 350.6 MB, free: 6.855 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001094/0.00628, allocations: 51.78 kB / 350.6 MB, free: 6.805 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001019/0.006382, allocations: 27.89 kB / 350.6 MB, free: 6.777 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.555e-05/0.006408, allocations: 4 kB / 350.7 MB, free: 6.773 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001113/0.006519, allocations: 43.92 kB / 350.7 MB, free: 6.73 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.297e-05/0.006602, allocations: 35.91 kB / 350.7 MB, free: 6.695 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.782e-05/0.00666, allocations: 19.88 kB / 350.8 MB, free: 6.676 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002723/0.006932, allocations: 103.6 kB / 350.9 MB, free: 6.574 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.006938, allocations: 0 / 350.9 MB, free: 6.574 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.006941, allocations: 0 / 350.9 MB, free: 6.574 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.698e-06/0.006951, allocations: 0 / 350.9 MB, free: 6.574 MB / 282.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.0006766/0.007627, allocations: 451.8 kB / 351.3 MB, free: 6.098 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.876e-05/0.007686, allocations: 12.03 kB / 351.3 MB, free: 6.086 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.617e-05/0.007762, allocations: 16.84 kB / 351.3 MB, free: 6.07 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002363/0.007998, allocations: 160.3 kB / 351.5 MB, free: 5.887 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.367e-05/0.008032, allocations: 4.375 kB / 351.5 MB, free: 5.883 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.503e-05/0.008067, allocations: 8.359 kB / 351.5 MB, free: 5.875 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002084/0.008276, allocations: 62.88 kB / 351.6 MB, free: 5.805 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.914e-05/0.008295, allocations: 3.938 kB / 351.6 MB, free: 5.801 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/0.00831, allocations: 4 kB / 351.6 MB, free: 5.797 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.225e-05/0.008322, allocations: 0 / 351.6 MB, free: 5.797 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.973e-05/0.008372, allocations: 12 kB / 351.6 MB, free: 5.785 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000444/0.008816, allocations: 287.8 kB / 351.9 MB, free: 5.469 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001543/0.00897, allocations: 55.09 kB / 351.9 MB, free: 5.402 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.38e-05/0.009014, allocations: 27.62 kB / 351.9 MB, free: 5.371 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.024e-05/0.009034, allocations: 0 / 351.9 MB, free: 5.371 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001536/0.009188, allocations: 65.05 kB / 352 MB, free: 5.293 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.382e-06/0.009189, allocations: 0 / 352 MB, free: 5.293 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005918/0.009781, allocations: 157.3 kB / 352.2 MB, free: 5.133 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.964e-05/0.00983, allocations: 55.41 kB / 352.2 MB, free: 5.066 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001669/0.009997, allocations: 245.9 kB / 352.4 MB, free: 4.809 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.429e-05/0.01001, allocations: 25.7 kB / 352.5 MB, free: 4.777 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.059e-05/0.01007, allocations: 158.9 kB / 352.6 MB, free: 4.617 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.507e-05/0.01011, allocations: 23.78 kB / 352.6 MB, free: 4.594 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.661e-05/0.01015, allocations: 39.36 kB / 352.7 MB, free: 4.547 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.01026, allocations: 0.4962 MB / 353.2 MB, free: 4.039 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.372e-05/0.0103, allocations: 8.375 kB / 353.2 MB, free: 4.031 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.212e-05/0.01035, allocations: 39.3 kB / 353.2 MB, free: 3.984 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.55e-05/0.01041, allocations: 51.3 kB / 353.3 MB, free: 3.926 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.01042, allocations: 4 kB / 353.3 MB, free: 3.922 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001418/0.01056, allocations: 93.52 kB / 353.4 MB, free: 3.824 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.01058, allocations: 8 kB / 353.4 MB, free: 3.816 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-06/0.01059, allocations: 0 / 353.4 MB, free: 3.816 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.399e-05/0.01061, allocations: 4.031 kB / 353.4 MB, free: 3.812 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/0.01074, allocations: 19.98 kB / 353.4 MB, free: 3.793 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.01074, allocations: 4 kB / 353.4 MB, free: 3.789 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.65e-05/0.01078, allocations: 0 / 353.4 MB, free: 3.789 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.828e-06/0.01079, allocations: 4 kB / 353.4 MB, free: 3.785 MB / 282.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 9.471e-05/0.01089, allocations: 168.5 kB / 353.6 MB, free: 3.609 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.476e-05/0.01091, allocations: 19.84 kB / 353.6 MB, free: 3.59 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002152/0.01113, allocations: 107.2 kB / 353.7 MB, free: 3.477 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.01113, allocations: 4 kB / 353.7 MB, free: 3.473 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/0.01113, allocations: 4 kB / 353.7 MB, free: 3.469 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.01114, allocations: 0 / 353.7 MB, free: 3.469 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004136/0.01155, allocations: 401 kB / 354.1 MB, free: 3.031 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.01156, allocations: 0 / 354.1 MB, free: 3.031 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.247e-05/0.0116, allocations: 8 kB / 354.1 MB, free: 3.023 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.0116, allocations: 0 / 354.1 MB, free: 3.023 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.01162, allocations: 4 kB / 354.1 MB, free: 3.02 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.01162, allocations: 0 / 354.1 MB, free: 3.02 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.01162, allocations: 0 / 354.1 MB, free: 3.02 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001943/0.01182, allocations: 263.4 kB / 354.4 MB, free: 2.738 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.089e-05/0.01184, allocations: 19.92 kB / 354.4 MB, free: 2.719 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.319e-05/0.01186, allocations: 4 kB / 354.4 MB, free: 2.715 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.949e-05/0.01191, allocations: 0 / 354.4 MB, free: 2.715 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.455e-05/0.01197, allocations: 11.98 kB / 354.4 MB, free: 2.703 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.047e-05/0.01199, allocations: 4 kB / 354.4 MB, free: 2.699 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.096e-05/0.01208, allocations: 183.1 kB / 354.6 MB, free: 2.52 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01208, allocations: 0 / 354.6 MB, free: 2.52 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002113/0.01229, allocations: 23.92 kB / 354.6 MB, free: 2.496 MB / 282.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.001177/0.01347, allocations: 441.1 kB / 355 MB, free: 2.156 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001881/0.01365, allocations: 63.53 kB / 355.1 MB, free: 2.09 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.01366, allocations: 0 / 355.1 MB, free: 2.09 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.912e-05/0.01371, allocations: 31.67 kB / 355.1 MB, free: 2.055 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003197/0.01403, allocations: 23.98 kB / 355.2 MB, free: 2.031 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005373/0.01456, allocations: 245.7 kB / 355.4 MB, free: 1.762 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.562e-05/0.01461, allocations: 71.28 kB / 355.5 MB, free: 1.672 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.247e-05/0.01465, allocations: 20.59 kB / 355.5 MB, free: 1.652 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.238e-05/0.01469, allocations: 20.44 kB / 355.5 MB, free: 1.629 MB / 282.7 MB Notification: Performance of SimCode: time 1.082e-06/0.0147, allocations: 0 / 355.5 MB, free: 1.629 MB / 282.7 MB Notification: Performance of Templates: time 0.005197/0.01989, allocations: 1.851 MB / 357.4 MB, free: 15.8 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.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.874145660083741]