Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.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.001282/0.001282, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001585/0.001585, allocations: 165 kB / 24.56 MB, free: 16 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 0.9666/0.9666, allocations: 177.1 MB / 205 MB, free: 5.297 MB / 186.7 MB " [Timeout remaining time 179] 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.2432/0.2432, allocations: 32.8 MB / 294.3 MB, free: 1.238 MB / 266.7 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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 376 MB, free: 4.691 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.939e-05/3.124e-05, allocations: 6.25 kB / 376 MB, free: 4.684 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.005734/0.005765, allocations: 1.661 MB / 377.7 MB, free: 3.008 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008539/0.006619, allocations: 0.5452 MB / 378.2 MB, free: 2.457 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.37e-05/0.006673, allocations: 4 kB / 378.2 MB, free: 2.453 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003596/0.01027, allocations: 455.1 kB / 378.7 MB, free: 2.008 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004898/0.01076, allocations: 303.1 kB / 379 MB, free: 1.711 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000407/0.01117, allocations: 167.5 kB / 379.1 MB, free: 1.547 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002338/0.0114, allocations: 171.6 kB / 379.3 MB, free: 1.379 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.0115, allocations: 8 kB / 379.3 MB, free: 1.371 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001275/0.01163, allocations: 123.8 kB / 379.4 MB, free: 1.25 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002258/0.01185, allocations: 235.5 kB / 379.7 MB, free: 1.02 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.959e-05/0.01187, allocations: 8 kB / 379.7 MB, free: 1.012 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.968e-05/0.01194, allocations: 23.94 kB / 379.7 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.837e-05/0.01204, allocations: 91.69 kB / 379.8 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.909e-05/0.01209, allocations: 35.75 kB / 379.8 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002538/0.01234, allocations: 187.2 kB / 380 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.01235, allocations: 0 / 380 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.01235, allocations: 0 / 380 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.01235, allocations: 0 / 380 MB, free: 0.6797 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.003924/0.01628, allocations: 0.6854 MB / 380.7 MB, free: 15.95 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.383e-05/0.01633, allocations: 12.03 kB / 380.7 MB, free: 15.94 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.527e-05/0.01641, allocations: 44.66 kB / 380.7 MB, free: 15.9 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002151/0.01662, allocations: 248.8 kB / 381 MB, free: 15.63 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.01663, allocations: 4.375 kB / 381 MB, free: 15.63 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.035e-05/0.01664, allocations: 384 / 381 MB, free: 15.63 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001313/0.01678, allocations: 54.95 kB / 381 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.01678, allocations: 192 / 381 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.01679, allocations: 4.125 kB / 381.1 MB, free: 15.56 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/0.0168, allocations: 4 kB / 381.1 MB, free: 15.56 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.466e-05/0.01683, allocations: 4 kB / 381.1 MB, free: 15.55 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004171/0.01724, allocations: 415.7 kB / 381.5 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.427e-05/0.01731, allocations: 35.06 kB / 381.5 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.27e-05/0.01733, allocations: 15.62 kB / 381.5 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.904e-05/0.01735, allocations: 0 / 381.5 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.508e-05/0.01738, allocations: 41.45 kB / 381.6 MB, free: 15 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.01738, allocations: 0 / 381.6 MB, free: 15 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001757/0.01755, allocations: 85.34 kB / 381.6 MB, free: 14.91 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.164e-05/0.01758, allocations: 55.41 kB / 381.7 MB, free: 14.84 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003985/0.01798, allocations: 0.6315 MB / 382.3 MB, free: 14.19 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.477e-06/0.01799, allocations: 25.7 kB / 382.4 MB, free: 14.16 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001436/0.01814, allocations: 290.8 kB / 382.6 MB, free: 13.87 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.286e-05/0.01816, allocations: 8.078 kB / 382.6 MB, free: 13.86 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.956e-05/0.01819, allocations: 23.31 kB / 382.7 MB, free: 13.83 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.01835, allocations: 0.5547 MB / 383.2 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.607e-05/0.01836, allocations: 4 kB / 383.2 MB, free: 13.26 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.015e-05/0.01837, allocations: 0 / 383.2 MB, free: 13.26 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.466e-05/0.01841, allocations: 19.62 kB / 383.2 MB, free: 13.24 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.01841, allocations: 0 / 383.2 MB, free: 13.24 MB / 362.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.708e-05/0.01849, allocations: 85.34 kB / 383.3 MB, free: 13.15 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.0185, allocations: 4 kB / 383.3 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.01851, allocations: 0 / 383.3 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.01852, allocations: 8.094 kB / 383.3 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.566e-05/0.0186, allocations: 4 kB / 383.3 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.0186, allocations: 0 / 383.3 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.145e-05/0.01862, allocations: 0 / 383.3 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.01863, allocations: 0 / 383.3 MB, free: 13.13 MB / 362.7 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 (2): * Single equations (assignments): 2 * 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 7.456e-05/0.01871, allocations: 160.6 kB / 383.5 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.069e-05/0.01874, allocations: 43.66 kB / 383.5 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001286/0.01886, allocations: 76.69 kB / 383.6 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.01887, allocations: 8 kB / 383.6 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.01887, allocations: 0 / 383.6 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.01887, allocations: 4.031 kB / 383.6 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002067/0.01908, allocations: 280.5 kB / 383.9 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.01908, allocations: 0 / 383.9 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.973e-05/0.01911, allocations: 7.984 kB / 383.9 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.01912, allocations: 3.938 kB / 383.9 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.01912, allocations: 0 / 383.9 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.01913, allocations: 0 / 383.9 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.01913, allocations: 4 kB / 383.9 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001237/0.01925, allocations: 227.6 kB / 384.1 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.572e-05/0.01928, allocations: 39.66 kB / 384.2 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.649e-05/0.01929, allocations: 4.031 kB / 384.2 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.561e-05/0.01933, allocations: 0 / 384.2 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.742e-05/0.01935, allocations: 4 kB / 384.2 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.038e-06/0.01935, allocations: 0 / 384.2 MB, free: 12.21 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002347/0.01958, allocations: 426.8 kB / 384.6 MB, free: 11.8 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01959, allocations: 0 / 384.6 MB, free: 11.8 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001596/0.01974, allocations: 23.94 kB / 384.6 MB, free: 11.78 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0007165/0.02046, allocations: 334.5 kB / 385 MB, free: 11.56 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.912e-05/0.02055, allocations: 19.67 kB / 385 MB, free: 11.54 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.02055, allocations: 0 / 385 MB, free: 11.54 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.286e-05/0.02056, allocations: 19.62 kB / 385 MB, free: 11.52 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002514/0.02082, allocations: 29.03 kB / 385 MB, free: 11.49 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006776/0.02149, allocations: 0.5666 MB / 385.6 MB, free: 10.89 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.411e-05/0.02157, allocations: 119.2 kB / 385.7 MB, free: 10.75 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.749e-05/0.02161, allocations: 11.97 kB / 385.7 MB, free: 10.74 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.829e-05/0.02163, allocations: 12.5 kB / 385.7 MB, free: 10.73 MB / 362.7 MB Notification: Performance of SimCode: time 9.32e-07/0.02163, allocations: 4 kB / 385.7 MB, free: 10.72 MB / 362.7 MB Notification: Performance of Templates: time 0.00389/0.02552, allocations: 1.217 MB / 386.9 MB, free: 9.516 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.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.0170860309153795]