Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test10.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.001066/0.001066, allocations: 77.88 kB / 21.42 MB, free: 3.07 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.001203/0.001203, allocations: 170.8 kB / 24.82 MB, free: 9.266 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 1.059/1.059, allocations: 177.1 MB / 205.3 MB, free: 5.516 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.2784/0.2784, allocations: 34.26 MB / 296.1 MB, free: 0.625 MB / 266.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.CombiTable2Dv.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test10") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test10") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 378.5 MB, free: 2.336 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.928e-05/2.101e-05, allocations: 5.266 kB / 378.5 MB, free: 2.332 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test10): time 0.002134/0.002155, allocations: 1.697 MB / 380.2 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001172/0.003327, allocations: 1.305 MB / 381.5 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.516e-05/0.003382, allocations: 0 / 381.5 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001871/0.003569, allocations: 19.86 kB / 381.5 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002609/0.00383, allocations: 91.48 kB / 381.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002772/0.004107, allocations: 179.4 kB / 381.8 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001292/0.004236, allocations: 83.75 kB / 381.9 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.594e-05/0.004322, allocations: 11.98 kB / 381.9 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.206e-05/0.004384, allocations: 39.84 kB / 381.9 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.951e-05/0.004474, allocations: 35.91 kB / 382 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.564e-05/0.004489, allocations: 11.98 kB / 382 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001185/0.004608, allocations: 83.89 kB / 382.1 MB, free: 14.76 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.681e-05/0.004665, allocations: 27.91 kB / 382.1 MB, free: 14.73 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.78e-05/0.004692, allocations: 11.94 kB / 382.1 MB, free: 14.72 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002005/0.004893, allocations: 147.5 kB / 382.2 MB, free: 14.58 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.943e-06/0.004895, allocations: 0 / 382.2 MB, free: 14.58 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.004895, allocations: 0 / 382.2 MB, free: 14.58 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.607e-06/0.004899, allocations: 0 / 382.2 MB, free: 14.58 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003782/0.005277, allocations: 435.9 kB / 382.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.005311, allocations: 12.03 kB / 382.7 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3e-05/0.005341, allocations: 8.891 kB / 382.7 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/0.005487, allocations: 154.4 kB / 382.8 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.747e-06/0.005496, allocations: 384 / 382.8 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.148e-05/0.005518, allocations: 4.375 kB / 382.9 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001353/0.005653, allocations: 104 kB / 383 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.005662, allocations: 192 / 383 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.005672, allocations: 12.12 kB / 383 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.005677, allocations: 0 / 383 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.974e-05/0.005706, allocations: 11.92 kB / 383 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000246/0.005952, allocations: 268.4 kB / 383.2 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.731e-05/0.00601, allocations: 39.05 kB / 383.3 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.878e-05/0.006028, allocations: 11.69 kB / 383.3 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.591e-05/0.006054, allocations: 12.06 kB / 383.3 MB, free: 13.4 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.222e-05/0.006077, allocations: 41.31 kB / 383.3 MB, free: 13.35 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.006077, allocations: 0 / 383.3 MB, free: 13.35 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003091/0.006387, allocations: 117.4 kB / 383.5 MB, free: 13.23 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.414e-05/0.006421, allocations: 81.11 kB / 383.5 MB, free: 13.13 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/0.006523, allocations: 203.9 kB / 383.7 MB, free: 12.92 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.068e-05/0.006534, allocations: 25.7 kB / 383.8 MB, free: 12.89 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.043e-05/0.006584, allocations: 146.8 kB / 383.9 MB, free: 12.74 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.178e-05/0.006606, allocations: 27.78 kB / 383.9 MB, free: 12.71 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.851e-05/0.006635, allocations: 23.38 kB / 384 MB, free: 12.68 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004221/0.007057, allocations: 0.4962 MB / 384.4 MB, free: 12.17 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.613e-05/0.007073, allocations: 4 kB / 384.5 MB, free: 12.17 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.594e-05/0.007109, allocations: 53.06 kB / 384.5 MB, free: 12.1 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.965e-05/0.007148, allocations: 27.69 kB / 384.5 MB, free: 12.07 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.00715, allocations: 0 / 384.5 MB, free: 12.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.373e-05/0.007233, allocations: 77.44 kB / 384.6 MB, free: 11.99 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.007244, allocations: 4 kB / 384.6 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.007249, allocations: 0 / 384.6 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.00726, allocations: 8.016 kB / 384.6 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.109e-05/0.007321, allocations: 16 kB / 384.6 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.435e-06/0.007323, allocations: 0 / 384.6 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.478e-05/0.007348, allocations: 11.98 kB / 384.6 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.17e-06/0.007353, allocations: 0 / 384.6 MB, free: 11.95 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 (7): * Single equations (assignments): 7 * 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.387e-05/0.007417, allocations: 156.6 kB / 384.8 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.261e-05/0.00744, allocations: 11.89 kB / 384.8 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001136/0.007554, allocations: 86.33 kB / 384.9 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.007555, allocations: 0 / 384.9 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.007557, allocations: 4 kB / 384.9 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.00756, allocations: 0 / 384.9 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002396/0.007799, allocations: 318.4 kB / 385.2 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.0078, allocations: 0 / 385.2 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.307e-05/0.007843, allocations: 23.92 kB / 385.2 MB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.007845, allocations: 0 / 385.2 MB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.46e-06/0.007851, allocations: 0 / 385.2 MB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.007852, allocations: 0 / 385.2 MB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.007853, allocations: 0 / 385.2 MB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00011/0.007963, allocations: 219.8 kB / 385.4 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.558e-06/0.007972, allocations: 11.94 kB / 385.5 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.005e-05/0.007982, allocations: 4 kB / 385.5 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.786e-05/0.00802, allocations: 4 kB / 385.5 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.956e-05/0.00805, allocations: 11.98 kB / 385.5 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-06/0.008053, allocations: 0 / 385.5 MB, free: 11.04 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.159e-05/0.008105, allocations: 147.1 kB / 385.6 MB, free: 10.9 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008105, allocations: 0 / 385.6 MB, free: 10.9 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001806/0.008286, allocations: 43.81 kB / 385.7 MB, free: 10.86 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 (7): * Single equations (assignments): 7 * 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.0009164/0.009202, allocations: 0.491 MB / 386.2 MB, free: 10.54 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.729e-05/0.009289, allocations: 35.66 kB / 386.2 MB, free: 10.5 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.009291, allocations: 0 / 386.2 MB, free: 10.5 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.704e-05/0.009318, allocations: 27.61 kB / 386.2 MB, free: 10.47 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001966/0.009514, allocations: 30.92 kB / 386.2 MB, free: 10.44 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002975/0.009812, allocations: 204.8 kB / 386.4 MB, free: 10.21 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.76e-05/0.009849, allocations: 67.33 kB / 386.5 MB, free: 10.13 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.089e-05/0.00989, allocations: 8.734 kB / 386.5 MB, free: 10.12 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.29e-05/0.009963, allocations: 90.17 kB / 386.6 MB, free: 10.03 MB / 362.7 MB Notification: Performance of SimCode: time 6.01e-07/0.009964, allocations: 0 / 386.6 MB, free: 10.03 MB / 362.7 MB Notification: Performance of Templates: time 0.003523/0.01349, allocations: 2.211 MB / 388.8 MB, free: 7.828 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test10.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test10.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test10 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test10/Test10.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.210136265028268]