Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.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.001459/0.001459, allocations: 84.23 kB / 20.21 MB, free: 4.23 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.001577/0.001577, allocations: 161.7 kB / 23.51 MB, free: 0.9258 MB / 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.503/1.503, allocations: 158.6 MB / 185.3 MB, free: 2.895 MB / 170.7 MB " [Timeout remaining time 178] 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.2386/0.2386, allocations: 32.37 MB / 270 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.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76") translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 347 MB, free: 9.738 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.913e-05/3.082e-05, allocations: 2.312 kB / 347 MB, free: 9.734 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.002765/0.002796, allocations: 1.689 MB / 348.7 MB, free: 8.035 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001164/0.00396, allocations: 0.7649 MB / 349.5 MB, free: 7.262 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.84e-05/0.004038, allocations: 7.938 kB / 349.5 MB, free: 7.254 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003355/0.004374, allocations: 51.69 kB / 349.5 MB, free: 7.203 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002324/0.004606, allocations: 59.75 kB / 349.6 MB, free: 7.145 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000224/0.00483, allocations: 79.7 kB / 349.7 MB, free: 7.066 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002046/0.005035, allocations: 123.6 kB / 349.8 MB, free: 6.945 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.594e-05/0.005131, allocations: 8.234 kB / 349.8 MB, free: 6.938 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.93e-05/0.00522, allocations: 63.81 kB / 349.9 MB, free: 6.875 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.584e-05/0.005316, allocations: 39.88 kB / 349.9 MB, free: 6.836 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.441e-05/0.00534, allocations: 11.94 kB / 349.9 MB, free: 6.824 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.553e-05/0.005436, allocations: 43.92 kB / 349.9 MB, free: 6.781 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.824e-05/0.005504, allocations: 23.92 kB / 350 MB, free: 6.758 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.882e-05/0.005563, allocations: 27.91 kB / 350 MB, free: 6.73 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001974/0.00576, allocations: 131.5 kB / 350.1 MB, free: 6.602 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.005765, allocations: 0 / 350.1 MB, free: 6.602 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.524e-06/0.005768, allocations: 4 kB / 350.1 MB, free: 6.598 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.005774, allocations: 0 / 350.1 MB, free: 6.598 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005294/0.006303, allocations: 353.5 kB / 350.5 MB, free: 6.223 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.006343, allocations: 12.03 kB / 350.5 MB, free: 6.211 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.96e-05/0.006412, allocations: 16.83 kB / 350.5 MB, free: 6.195 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000278/0.00669, allocations: 155.2 kB / 350.7 MB, free: 6.02 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.821e-05/0.006709, allocations: 4.375 kB / 350.7 MB, free: 6.016 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.273e-05/0.006741, allocations: 4.359 kB / 350.7 MB, free: 6.012 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002018/0.006943, allocations: 70.22 kB / 350.7 MB, free: 5.938 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.006959, allocations: 7.875 kB / 350.7 MB, free: 5.93 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.006972, allocations: 8 kB / 350.7 MB, free: 5.922 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.006978, allocations: 0 / 350.7 MB, free: 5.922 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000116/0.007094, allocations: 51.89 kB / 350.8 MB, free: 5.871 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004015/0.007496, allocations: 256.5 kB / 351 MB, free: 5.59 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002133/0.007709, allocations: 78.66 kB / 351.1 MB, free: 5.504 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.923e-05/0.007798, allocations: 32.78 kB / 351.2 MB, free: 5.469 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.281e-05/0.007821, allocations: 7.984 kB / 351.2 MB, free: 5.461 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001755/0.007997, allocations: 83.31 kB / 351.2 MB, free: 5.367 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 1.193e-06/0.007998, allocations: 4 kB / 351.2 MB, free: 5.363 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0008044/0.008802, allocations: 245.2 kB / 351.5 MB, free: 5.117 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.828e-05/0.00886, allocations: 59.41 kB / 351.5 MB, free: 5.047 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001819/0.009042, allocations: 196.4 kB / 351.7 MB, free: 4.848 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.391e-05/0.009056, allocations: 25.7 kB / 351.8 MB, free: 4.816 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.124e-05/0.009107, allocations: 104.1 kB / 351.9 MB, free: 4.711 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.08e-05/0.009138, allocations: 31.81 kB / 351.9 MB, free: 4.68 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-05/0.009181, allocations: 33.7 kB / 351.9 MB, free: 4.641 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.377e-05/0.009245, allocations: 326.8 kB / 352.2 MB, free: 4.312 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.909e-05/0.009314, allocations: 31.98 kB / 352.3 MB, free: 4.281 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.137e-05/0.009395, allocations: 61.56 kB / 352.3 MB, free: 4.215 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001324/0.009527, allocations: 81.7 kB / 352.4 MB, free: 4.129 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.009529, allocations: 0 / 352.4 MB, free: 4.129 MB / 282.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002398/0.009769, allocations: 145.5 kB / 352.6 MB, free: 3.98 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.009788, allocations: 4 kB / 352.6 MB, free: 3.977 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.009794, allocations: 0 / 352.6 MB, free: 3.977 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.3e-05/0.009827, allocations: 0 / 352.6 MB, free: 3.977 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001213/0.009949, allocations: 27.92 kB / 352.6 MB, free: 3.949 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.009955, allocations: 0.5 kB / 352.6 MB, free: 3.949 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.965e-05/0.01, allocations: 8 kB / 352.6 MB, free: 3.941 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.01001, allocations: 7.938 kB / 352.6 MB, free: 3.934 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 (12): * Single equations (assignments): 12 * 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 8.982e-05/0.0101, allocations: 133.8 kB / 352.7 MB, free: 3.793 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.729e-05/0.01013, allocations: 11.95 kB / 352.8 MB, free: 3.781 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002935/0.01043, allocations: 175 kB / 352.9 MB, free: 3.602 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.01043, allocations: 0 / 352.9 MB, free: 3.602 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.01043, allocations: 4 kB / 352.9 MB, free: 3.598 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.01044, allocations: 0 / 352.9 MB, free: 3.598 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004245/0.01086, allocations: 402.9 kB / 353.3 MB, free: 3.164 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.01086, allocations: 0 / 353.3 MB, free: 3.164 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.305e-05/0.01092, allocations: 12 kB / 353.3 MB, free: 3.152 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.01092, allocations: 4 kB / 353.3 MB, free: 3.148 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.01093, allocations: 8 kB / 353.3 MB, free: 3.141 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.01094, allocations: 0 / 353.3 MB, free: 3.141 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.01094, allocations: 7.984 kB / 353.3 MB, free: 3.133 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002483/0.01118, allocations: 260.1 kB / 353.6 MB, free: 2.859 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.84e-05/0.0112, allocations: 7.953 kB / 353.6 MB, free: 2.852 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.719e-05/0.01123, allocations: 0 / 353.6 MB, free: 2.852 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.678e-05/0.01131, allocations: 16.02 kB / 353.6 MB, free: 2.836 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.691e-05/0.01136, allocations: 15.91 kB / 353.6 MB, free: 2.82 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.687e-05/0.01138, allocations: 4 kB / 353.6 MB, free: 2.816 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.415e-05/0.01148, allocations: 151.9 kB / 353.8 MB, free: 2.668 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01148, allocations: 0 / 353.8 MB, free: 2.668 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002775/0.01175, allocations: 27.94 kB / 353.8 MB, free: 2.641 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 (13): * Single equations (assignments): 11 * 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.002166/0.01392, allocations: 0.4921 MB / 354.3 MB, free: 2.254 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002298/0.01415, allocations: 87.91 kB / 354.4 MB, free: 2.168 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.01415, allocations: 0 / 354.4 MB, free: 2.168 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 9.305e-05/0.01424, allocations: 51.91 kB / 354.5 MB, free: 2.117 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003842/0.01463, allocations: 33.56 kB / 354.5 MB, free: 2.086 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000495/0.01512, allocations: 264.7 kB / 354.7 MB, free: 1.801 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.591e-05/0.01519, allocations: 100.8 kB / 354.8 MB, free: 1.68 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.11e-05/0.01525, allocations: 28.61 kB / 354.9 MB, free: 1.652 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.771e-05/0.0153, allocations: 16.5 kB / 354.9 MB, free: 1.637 MB / 282.7 MB Notification: Performance of SimCode: time 6.21e-07/0.0153, allocations: 0 / 354.9 MB, free: 1.637 MB / 282.7 MB Notification: Performance of Templates: time 0.005394/0.02069, allocations: 2.101 MB / 357 MB, free: 15.55 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.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: 5.05752370308619]