Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.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.001009/0.001009, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.001012/0.001012, allocations: 165 kB / 23.79 MB, free: 0.7773 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 0.9909/0.9909, allocations: 158.6 MB / 185.7 MB, free: 2.902 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.1354/0.1354, allocations: 32.37 MB / 270.4 MB, free: 14.7 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.CombiTable1D.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2") translateModel(ModelicaTest.Tables.CombiTable1D.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 347.7 MB, free: 9.445 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.756e-05/1.927e-05, allocations: 8.219 kB / 347.7 MB, free: 9.438 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test2): time 0.00187/0.001889, allocations: 1.595 MB / 349.3 MB, free: 7.836 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004733/0.002362, allocations: 331.4 kB / 349.6 MB, free: 7.508 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.255e-05/0.002415, allocations: 7.938 kB / 349.6 MB, free: 7.5 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002295/0.002644, allocations: 15.92 kB / 349.6 MB, free: 7.484 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001726/0.002817, allocations: 43.72 kB / 349.7 MB, free: 7.441 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001911/0.003008, allocations: 87.75 kB / 349.8 MB, free: 7.355 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000124/0.003132, allocations: 55.83 kB / 349.8 MB, free: 7.301 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.003236, allocations: 11.94 kB / 349.8 MB, free: 7.289 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.695e-05/0.003293, allocations: 31.91 kB / 349.8 MB, free: 7.258 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.432e-05/0.003347, allocations: 8 kB / 349.9 MB, free: 7.25 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.983e-05/0.003367, allocations: 7.984 kB / 349.9 MB, free: 7.242 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.372e-05/0.003431, allocations: 39.86 kB / 349.9 MB, free: 7.203 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.214e-05/0.003473, allocations: 7.984 kB / 349.9 MB, free: 7.195 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.754e-05/0.0035, allocations: 11.94 kB / 349.9 MB, free: 7.184 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001293/0.00363, allocations: 63.73 kB / 350 MB, free: 7.121 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.003633, allocations: 4 kB / 350 MB, free: 7.117 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.003634, allocations: 0 / 350 MB, free: 7.117 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.978e-06/0.003638, allocations: 0 / 350 MB, free: 7.117 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003413/0.003979, allocations: 400.2 kB / 350.4 MB, free: 6.691 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.004018, allocations: 16.03 kB / 350.4 MB, free: 6.676 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.924e-05/0.004057, allocations: 8.891 kB / 350.4 MB, free: 6.668 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001281/0.004185, allocations: 132.5 kB / 350.5 MB, free: 6.512 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.358e-06/0.004195, allocations: 384 / 350.5 MB, free: 6.512 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.546e-05/0.00422, allocations: 4.375 kB / 350.5 MB, free: 6.508 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001089/0.004329, allocations: 62.89 kB / 350.6 MB, free: 6.438 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.004338, allocations: 192 / 350.6 MB, free: 6.438 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.004346, allocations: 4.125 kB / 350.6 MB, free: 6.434 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.864e-06/0.004354, allocations: 0 / 350.6 MB, free: 6.434 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.125e-05/0.004385, allocations: 4 kB / 350.6 MB, free: 6.43 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002738/0.004659, allocations: 287.7 kB / 350.9 MB, free: 6.113 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001812/0.00484, allocations: 43.03 kB / 350.9 MB, free: 6.059 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.341e-05/0.004864, allocations: 15.69 kB / 350.9 MB, free: 6.039 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.303e-05/0.004887, allocations: 3.938 kB / 351 MB, free: 6.035 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.025e-05/0.004907, allocations: 33.39 kB / 351 MB, free: 5.992 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.443e-06/0.004908, allocations: 0 / 351 MB, free: 5.992 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003728/0.005281, allocations: 89.61 kB / 351.1 MB, free: 5.898 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.649e-05/0.005308, allocations: 55.39 kB / 351.1 MB, free: 5.832 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.587e-05/0.005394, allocations: 196.2 kB / 351.3 MB, free: 5.625 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.953e-06/0.0054, allocations: 25.7 kB / 351.3 MB, free: 5.594 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.696e-05/0.005437, allocations: 146.8 kB / 351.5 MB, free: 5.445 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.165e-05/0.005459, allocations: 11.84 kB / 351.5 MB, free: 5.434 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.918e-05/0.005488, allocations: 27.36 kB / 351.5 MB, free: 5.398 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.514e-05/0.005543, allocations: 0.4884 MB / 352 MB, free: 4.898 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.688e-05/0.00556, allocations: 11.92 kB / 352 MB, free: 4.887 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.31e-05/0.005573, allocations: 8 kB / 352 MB, free: 4.879 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.297e-05/0.005606, allocations: 23.69 kB / 352.1 MB, free: 4.852 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.005607, allocations: 0 / 352.1 MB, free: 4.852 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.855e-05/0.005676, allocations: 57.58 kB / 352.1 MB, free: 4.789 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.005689, allocations: 8 kB / 352.1 MB, free: 4.781 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.005694, allocations: 0 / 352.1 MB, free: 4.781 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.005711, allocations: 4 kB / 352.1 MB, free: 4.777 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.831e-05/0.00575, allocations: 8 kB / 352.1 MB, free: 4.77 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.005758, allocations: 7.922 kB / 352.1 MB, free: 4.762 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.621e-05/0.005774, allocations: 8 kB / 352.1 MB, free: 4.754 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.559e-06/0.005778, allocations: 0 / 352.1 MB, free: 4.754 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 (5): * Single equations (assignments): 5 * 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.562e-05/0.005824, allocations: 156.6 kB / 352.3 MB, free: 4.59 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.559e-05/0.00584, allocations: 12.14 kB / 352.3 MB, free: 4.578 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001095/0.005949, allocations: 70.14 kB / 352.4 MB, free: 4.504 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.005952, allocations: 0 / 352.4 MB, free: 4.504 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.005956, allocations: 3.938 kB / 352.4 MB, free: 4.5 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.00596, allocations: 4 kB / 352.4 MB, free: 4.496 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001743/0.006134, allocations: 321.3 kB / 352.7 MB, free: 4.141 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.006136, allocations: 0 / 352.7 MB, free: 4.141 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.692e-05/0.006162, allocations: 15.98 kB / 352.7 MB, free: 4.125 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.006164, allocations: 0 / 352.7 MB, free: 4.125 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.006173, allocations: 0 / 352.7 MB, free: 4.125 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.006175, allocations: 0 / 352.7 MB, free: 4.125 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.006176, allocations: 0 / 352.7 MB, free: 4.125 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.64e-05/0.006252, allocations: 215.8 kB / 352.9 MB, free: 3.895 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.791e-06/0.006258, allocations: 3.953 kB / 352.9 MB, free: 3.891 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.155e-05/0.00627, allocations: 4 kB / 352.9 MB, free: 3.887 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.726e-05/0.006297, allocations: 4 kB / 352.9 MB, free: 3.883 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.924e-05/0.006336, allocations: 3.984 kB / 352.9 MB, free: 3.879 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-06/0.00634, allocations: 4 kB / 352.9 MB, free: 3.875 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.681e-05/0.006376, allocations: 140.2 kB / 353.1 MB, free: 3.738 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006377, allocations: 0 / 353.1 MB, free: 3.738 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001485/0.006525, allocations: 19.94 kB / 353.1 MB, free: 3.719 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 (5): * Single equations (assignments): 5 * 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.0007231/0.007248, allocations: 376.4 kB / 353.5 MB, free: 3.438 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.476e-05/0.007343, allocations: 31.67 kB / 353.5 MB, free: 3.402 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.007344, allocations: 0 / 353.5 MB, free: 3.402 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.011e-05/0.007364, allocations: 23.62 kB / 353.5 MB, free: 3.375 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001975/0.007562, allocations: 25.11 kB / 353.5 MB, free: 3.352 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002836/0.007845, allocations: 169.9 kB / 353.7 MB, free: 3.156 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.882e-05/0.007874, allocations: 59.34 kB / 353.8 MB, free: 3.078 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.045e-05/0.007905, allocations: 11.98 kB / 353.8 MB, free: 3.066 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.887e-05/0.007934, allocations: 16.48 kB / 353.8 MB, free: 3.051 MB / 282.7 MB Notification: Performance of SimCode: time 9.22e-07/0.007934, allocations: 0 / 353.8 MB, free: 3.051 MB / 282.7 MB Notification: Performance of Templates: time 0.002912/0.01085, allocations: 1.234 MB / 355 MB, free: 1.832 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test2/Test2.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.1698745330795646]