Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.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.001192/0.001192, 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.001007/0.001007, 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.066/1.066, allocations: 158.6 MB / 186 MB, free: 2.918 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.1468/0.1468, allocations: 32.37 MB / 270.7 MB, free: 14.78 MB / 266.7 MB " [Timeout remaining time 180] 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.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 347.7 MB, free: 9.777 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.731e-05/1.931e-05, allocations: 9.344 kB / 347.7 MB, free: 9.77 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.001742/0.001761, allocations: 1.611 MB / 349.3 MB, free: 8.152 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004809/0.002242, allocations: 323.4 kB / 349.6 MB, free: 7.832 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.387e-05/0.002306, allocations: 0 / 349.6 MB, free: 7.832 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003055/0.002612, allocations: 95.67 kB / 349.7 MB, free: 7.738 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002012/0.002813, allocations: 71.67 kB / 349.8 MB, free: 7.668 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001999/0.003013, allocations: 67.84 kB / 349.8 MB, free: 7.602 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001422/0.003155, allocations: 87.73 kB / 349.9 MB, free: 7.516 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.003269, allocations: 8.188 kB / 349.9 MB, free: 7.508 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.239e-05/0.003332, allocations: 47.88 kB / 350 MB, free: 7.461 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.842e-05/0.00342, allocations: 59.86 kB / 350 MB, free: 7.402 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.7e-05/0.003437, allocations: 0 / 350 MB, free: 7.402 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.045e-05/0.003497, allocations: 27.94 kB / 350.1 MB, free: 7.375 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.486e-05/0.003542, allocations: 27.92 kB / 350.1 MB, free: 7.348 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.834e-05/0.003571, allocations: 19.91 kB / 350.1 MB, free: 7.328 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001314/0.003702, allocations: 87.56 kB / 350.2 MB, free: 7.242 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.003705, allocations: 4 kB / 350.2 MB, free: 7.238 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.31e-07/0.003705, allocations: 0 / 350.2 MB, free: 7.238 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.003709, allocations: 0 / 350.2 MB, free: 7.238 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.0003068/0.004015, allocations: 440 kB / 350.6 MB, free: 6.773 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.004047, allocations: 8.031 kB / 350.6 MB, free: 6.766 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.893e-05/0.004086, allocations: 20.84 kB / 350.7 MB, free: 6.746 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001064/0.004193, allocations: 144.4 kB / 350.8 MB, free: 6.578 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.426e-06/0.004201, allocations: 4.375 kB / 350.8 MB, free: 6.574 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.901e-05/0.00422, allocations: 4.312 kB / 350.8 MB, free: 6.57 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.533e-05/0.004316, allocations: 62.94 kB / 350.9 MB, free: 6.5 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.004324, allocations: 192 / 350.9 MB, free: 6.5 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.004333, allocations: 7.938 kB / 350.9 MB, free: 6.492 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.004339, allocations: 0 / 350.9 MB, free: 6.492 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.563e-05/0.004374, allocations: 19.98 kB / 350.9 MB, free: 6.473 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002403/0.004615, allocations: 299.7 kB / 351.2 MB, free: 6.145 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.841e-05/0.004673, allocations: 54.86 kB / 351.2 MB, free: 6.078 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.295e-05/0.004696, allocations: 11.81 kB / 351.2 MB, free: 6.062 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.004716, allocations: 8 kB / 351.3 MB, free: 6.055 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.411e-05/0.00473, allocations: 33.39 kB / 351.3 MB, free: 6.012 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 9.72e-07/0.004731, allocations: 0 / 351.3 MB, free: 6.012 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003586/0.00509, allocations: 137.4 kB / 351.4 MB, free: 5.871 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.874e-05/0.005119, allocations: 55.41 kB / 351.5 MB, free: 5.805 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001294/0.005248, allocations: 242.6 kB / 351.7 MB, free: 5.551 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.333e-06/0.005256, allocations: 29.7 kB / 351.7 MB, free: 5.516 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.277e-05/0.005308, allocations: 158.8 kB / 351.9 MB, free: 5.355 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.767e-05/0.005336, allocations: 27.75 kB / 351.9 MB, free: 5.328 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.989e-05/0.005366, allocations: 31.3 kB / 352 MB, free: 5.289 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.47e-05/0.005451, allocations: 0.5 MB / 352.5 MB, free: 4.777 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.805e-05/0.005469, allocations: 8 kB / 352.5 MB, free: 4.77 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.643e-05/0.005485, allocations: 8 kB / 352.5 MB, free: 4.762 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.113e-05/0.005526, allocations: 39.97 kB / 352.5 MB, free: 4.719 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.005527, allocations: 4 kB / 352.5 MB, free: 4.715 MB / 282.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.313e-05/0.0056, allocations: 73.62 kB / 352.6 MB, free: 4.637 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/0.005611, allocations: 8 kB / 352.6 MB, free: 4.629 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.005616, allocations: 0 / 352.6 MB, free: 4.629 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.005629, allocations: 384 / 352.6 MB, free: 4.629 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.436e-05/0.005703, allocations: 19.92 kB / 352.6 MB, free: 4.609 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.942e-06/0.005709, allocations: 0 / 352.6 MB, free: 4.609 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.896e-05/0.005728, allocations: 15.98 kB / 352.6 MB, free: 4.594 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.005734, allocations: 4 kB / 352.6 MB, free: 4.59 MB / 282.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 (8): * Single equations (assignments): 8 * 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 4.862e-05/0.005783, allocations: 156.5 kB / 352.8 MB, free: 4.426 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.871e-05/0.005802, allocations: 23.91 kB / 352.8 MB, free: 4.402 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001121/0.005914, allocations: 87.06 kB / 352.9 MB, free: 4.312 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.005916, allocations: 4 kB / 352.9 MB, free: 4.309 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.005919, allocations: 0 / 352.9 MB, free: 4.309 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.005924, allocations: 3.938 kB / 352.9 MB, free: 4.305 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000201/0.006125, allocations: 365.3 kB / 353.3 MB, free: 3.906 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.006126, allocations: 0 / 353.3 MB, free: 3.906 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.977e-05/0.006156, allocations: 19.92 kB / 353.3 MB, free: 3.887 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.01e-07/0.006156, allocations: 0 / 353.3 MB, free: 3.887 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.781e-06/0.006162, allocations: 3.938 kB / 353.3 MB, free: 3.883 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.006163, allocations: 4 kB / 353.3 MB, free: 3.879 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.006164, allocations: 4 kB / 353.3 MB, free: 3.875 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.12e-05/0.006245, allocations: 227.8 kB / 353.5 MB, free: 3.633 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.166e-06/0.006253, allocations: 15.89 kB / 353.5 MB, free: 3.617 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.061e-05/0.006264, allocations: 0 / 353.5 MB, free: 3.617 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.797e-05/0.006292, allocations: 0 / 353.5 MB, free: 3.617 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.821e-05/0.00633, allocations: 11.98 kB / 353.5 MB, free: 3.605 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-06/0.006334, allocations: 4 kB / 353.5 MB, free: 3.602 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.86e-05/0.006382, allocations: 175.1 kB / 353.7 MB, free: 3.43 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006382, allocations: 0 / 353.7 MB, free: 3.43 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001484/0.006531, allocations: 20 kB / 353.7 MB, free: 3.41 MB / 282.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 (8): * Single equations (assignments): 8 * 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.0006625/0.007193, allocations: 377.6 kB / 354.1 MB, free: 3.133 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001017/0.007295, allocations: 39.66 kB / 354.1 MB, free: 3.09 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.007297, allocations: 8 kB / 354.1 MB, free: 3.082 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.259e-05/0.00732, allocations: 27.61 kB / 354.2 MB, free: 3.051 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001953/0.007515, allocations: 17.23 kB / 354.2 MB, free: 3.035 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000298/0.007813, allocations: 230.2 kB / 354.4 MB, free: 2.781 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.778e-05/0.007841, allocations: 71.33 kB / 354.5 MB, free: 2.691 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.821e-05/0.007869, allocations: 12.73 kB / 354.5 MB, free: 2.68 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.86e-05/0.007898, allocations: 20.48 kB / 354.5 MB, free: 2.66 MB / 282.7 MB Notification: Performance of SimCode: time 8.02e-07/0.007898, allocations: 4 kB / 354.5 MB, free: 2.656 MB / 282.7 MB Notification: Performance of Templates: time 0.002535/0.01043, allocations: 1.247 MB / 355.8 MB, free: 1.422 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.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.3001691510435194]