Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.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.001695/0.001695, allocations: 79.62 kB / 20.68 MB, free: 1.027 MB / 14.72 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.001928/0.001928, allocations: 164.8 kB / 23.95 MB, free: 4.156 MB / 14.72 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.442/1.442, allocations: 177.1 MB / 204.3 MB, free: 9.203 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1929/0.1929, allocations: 32.82 MB / 293.5 MB, free: 56 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.CombiTable2Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 440.1 MB, free: 8.152 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.133e-05/2.275e-05, allocations: 2.281 kB / 440.1 MB, free: 8.148 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test28): time 0.002885/0.002908, allocations: 1.662 MB / 441.8 MB, free: 6.477 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001112/0.00402, allocations: 0.5608 MB / 442.3 MB, free: 5.91 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.887e-05/0.004079, allocations: 4 kB / 442.3 MB, free: 5.906 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00025/0.004329, allocations: 63.72 kB / 442.4 MB, free: 5.844 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002893/0.004618, allocations: 95.53 kB / 442.5 MB, free: 5.75 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004219/0.00504, allocations: 185.8 kB / 442.7 MB, free: 5.57 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001763/0.005216, allocations: 95.73 kB / 442.8 MB, free: 5.477 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.579e-05/0.005312, allocations: 8.234 kB / 442.8 MB, free: 5.465 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.551e-05/0.005398, allocations: 55.88 kB / 442.8 MB, free: 5.41 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001054/0.005503, allocations: 47.88 kB / 442.9 MB, free: 5.363 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.07e-05/0.005524, allocations: 4 kB / 442.9 MB, free: 5.359 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001038/0.005628, allocations: 51.86 kB / 442.9 MB, free: 5.309 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.968e-05/0.005697, allocations: 31.91 kB / 443 MB, free: 5.277 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.667e-05/0.005734, allocations: 19.86 kB / 443 MB, free: 5.258 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002126/0.005947, allocations: 111.6 kB / 443.1 MB, free: 5.148 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.005949, allocations: 0 / 443.1 MB, free: 5.148 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.21e-07/0.00595, allocations: 0 / 443.1 MB, free: 5.148 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.928e-06/0.005954, allocations: 0 / 443.1 MB, free: 5.148 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005139/0.006467, allocations: 345.6 kB / 443.4 MB, free: 4.781 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.117e-05/0.006499, allocations: 12.03 kB / 443.4 MB, free: 4.77 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.393e-05/0.006543, allocations: 16.78 kB / 443.5 MB, free: 4.754 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001902/0.006733, allocations: 146.8 kB / 443.6 MB, free: 4.586 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.006746, allocations: 8.359 kB / 443.6 MB, free: 4.578 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.085e-05/0.006767, allocations: 4.375 kB / 443.6 MB, free: 4.574 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001843/0.006951, allocations: 66.22 kB / 443.7 MB, free: 4.504 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.006962, allocations: 192 / 443.7 MB, free: 4.504 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.006972, allocations: 8.125 kB / 443.7 MB, free: 4.496 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.006976, allocations: 4 kB / 443.7 MB, free: 4.492 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001482/0.007124, allocations: 43.91 kB / 443.7 MB, free: 4.449 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00042/0.007545, allocations: 260.5 kB / 444 MB, free: 4.164 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002387/0.007783, allocations: 62.52 kB / 444.1 MB, free: 4.094 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.015e-05/0.007873, allocations: 24.97 kB / 444.1 MB, free: 4.066 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.963e-05/0.007893, allocations: 0 / 444.1 MB, free: 4.066 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.641e-05/0.007919, allocations: 38.56 kB / 444.1 MB, free: 4.02 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 9.11e-07/0.00792, allocations: 0 / 444.1 MB, free: 4.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.00155/0.009471, allocations: 425 kB / 444.5 MB, free: 3.598 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.217e-05/0.009513, allocations: 51.41 kB / 444.6 MB, free: 3.535 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002045/0.009717, allocations: 195.3 kB / 444.8 MB, free: 3.332 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.264e-05/0.00974, allocations: 33.7 kB / 444.8 MB, free: 3.293 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.522e-05/0.009815, allocations: 116 kB / 444.9 MB, free: 3.176 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.162e-05/0.009857, allocations: 31.7 kB / 445 MB, free: 3.145 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.198e-05/0.009909, allocations: 37.58 kB / 445 MB, free: 3.102 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.01005, allocations: 326.8 kB / 445.3 MB, free: 2.773 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001479/0.0102, allocations: 56.45 kB / 445.4 MB, free: 2.719 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001443/0.01035, allocations: 55.97 kB / 445.4 MB, free: 2.664 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002949/0.01064, allocations: 124.8 kB / 445.5 MB, free: 2.539 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.01064, allocations: 0 / 445.5 MB, free: 2.539 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003727/0.01101, allocations: 169.5 kB / 445.7 MB, free: 2.367 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.01103, allocations: 4 kB / 445.7 MB, free: 2.363 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.01103, allocations: 4 kB / 445.7 MB, free: 2.359 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.01104, allocations: 0 / 445.7 MB, free: 2.359 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.01117, allocations: 35.91 kB / 445.7 MB, free: 2.324 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.978e-06/0.01117, allocations: 4 kB / 445.7 MB, free: 2.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.544e-05/0.01124, allocations: 11.98 kB / 445.8 MB, free: 2.309 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.01125, allocations: 4 kB / 445.8 MB, free: 2.305 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001124/0.01136, allocations: 129.8 kB / 445.9 MB, free: 2.168 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.829e-05/0.0114, allocations: 11.94 kB / 445.9 MB, free: 2.156 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004428/0.01184, allocations: 183.1 kB / 446.1 MB, free: 1.965 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-06/0.01184, allocations: 4 kB / 446.1 MB, free: 1.961 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.01185, allocations: 4 kB / 446.1 MB, free: 1.957 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.01185, allocations: 3.938 kB / 446.1 MB, free: 1.953 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000706/0.01255, allocations: 439.6 kB / 446.5 MB, free: 1.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.01256, allocations: 4 kB / 446.5 MB, free: 1.477 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000109/0.01267, allocations: 27.92 kB / 446.6 MB, free: 1.449 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.01267, allocations: 64 / 446.6 MB, free: 1.449 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.617e-05/0.01269, allocations: 12 kB / 446.6 MB, free: 1.438 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.57e-06/0.01269, allocations: 7.922 kB / 446.6 MB, free: 1.43 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.01269, allocations: 0 / 446.6 MB, free: 1.43 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00042/0.01311, allocations: 269.6 kB / 446.8 MB, free: 1.145 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.428e-05/0.01313, allocations: 7.953 kB / 446.8 MB, free: 1.137 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.101e-05/0.01315, allocations: 4 kB / 446.8 MB, free: 1.133 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.01325, allocations: 15.92 kB / 446.9 MB, free: 1.117 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.586e-05/0.0133, allocations: 15.98 kB / 446.9 MB, free: 1.102 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.977e-06/0.0133, allocations: 4 kB / 446.9 MB, free: 1.098 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001351/0.01344, allocations: 143.9 kB / 447 MB, free: 0.957 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01344, allocations: 96 / 447 MB, free: 0.957 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000263/0.0137, allocations: 35.81 kB / 447.1 MB, free: 0.9219 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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 Backend phase and start with SimCode phase: time 0.00178/0.01548, allocations: 493.1 kB / 447.5 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003722/0.01585, allocations: 123.8 kB / 447.7 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01586, allocations: 0 / 447.7 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001616/0.01602, allocations: 64.02 kB / 447.7 MB, free: 476 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003167/0.01633, allocations: 38.94 kB / 447.8 MB, free: 444 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006545/0.01699, allocations: 323.2 kB / 448.1 MB, free: 88 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1792/0.1962, allocations: 103.9 kB / 448.2 MB, free: 21.44 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001314/0.1964, allocations: 30.23 kB / 448.2 MB, free: 21.44 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.668e-05/0.1964, allocations: 21.78 kB / 448.2 MB, free: 21.43 MB / 366.1 MB Notification: Performance of SimCode: time 1.022e-06/0.1964, allocations: 0 / 448.2 MB, free: 21.43 MB / 366.1 MB Notification: Performance of Templates: time 0.005649/0.2021, allocations: 1.64 MB / 449.9 MB, free: 21.34 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test28/Test28.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.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.699750367552042]