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.001003/0.001003, 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.001023/0.001023, allocations: 169.3 kB / 23.8 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.9039/0.9039, allocations: 158.6 MB / 185.7 MB, free: 2.883 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.1312/0.1312, allocations: 32.38 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.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.784e-06/1.784e-06, allocations: 0 / 347.7 MB, free: 9.445 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.826e-05/3.005e-05, allocations: 2.312 kB / 347.7 MB, free: 9.441 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.002892/0.002922, allocations: 1.622 MB / 349.3 MB, free: 7.816 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004674/0.00339, allocations: 319.4 kB / 349.6 MB, free: 7.5 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.644e-05/0.003446, allocations: 4 kB / 349.6 MB, free: 7.496 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000274/0.00372, allocations: 87.7 kB / 349.7 MB, free: 7.41 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001648/0.003885, allocations: 75.66 kB / 349.8 MB, free: 7.336 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001851/0.00407, allocations: 75.83 kB / 349.8 MB, free: 7.262 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001385/0.004209, allocations: 79.75 kB / 349.9 MB, free: 7.184 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.811e-05/0.004307, allocations: 12.17 kB / 349.9 MB, free: 7.172 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.017e-05/0.004367, allocations: 43.89 kB / 350 MB, free: 7.129 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.239e-05/0.004449, allocations: 51.88 kB / 350 MB, free: 7.078 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.917e-05/0.004468, allocations: 4 kB / 350 MB, free: 7.074 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.679e-05/0.004535, allocations: 35.92 kB / 350.1 MB, free: 7.039 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.852e-05/0.004584, allocations: 27.91 kB / 350.1 MB, free: 7.012 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.836e-05/0.004612, allocations: 11.94 kB / 350.1 MB, free: 7 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001522/0.004764, allocations: 95.53 kB / 350.2 MB, free: 6.906 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.004768, allocations: 0 / 350.2 MB, free: 6.906 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.004769, allocations: 4 kB / 350.2 MB, free: 6.902 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.004775, allocations: 0 / 350.2 MB, free: 6.902 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.0003876/0.005163, allocations: 436 kB / 350.6 MB, free: 6.441 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.005203, allocations: 12.03 kB / 350.6 MB, free: 6.43 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.891e-05/0.005252, allocations: 12.84 kB / 350.7 MB, free: 6.418 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/0.00538, allocations: 152.4 kB / 350.8 MB, free: 6.242 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.00539, allocations: 4.312 kB / 350.8 MB, free: 6.238 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.776e-05/0.005418, allocations: 4.375 kB / 350.8 MB, free: 6.234 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001307/0.005549, allocations: 62.94 kB / 350.9 MB, free: 6.164 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.00556, allocations: 4.188 kB / 350.9 MB, free: 6.16 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.719e-06/0.00557, allocations: 7.938 kB / 350.9 MB, free: 6.152 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.605e-06/0.005577, allocations: 0 / 350.9 MB, free: 6.152 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.715e-05/0.005615, allocations: 11.98 kB / 350.9 MB, free: 6.141 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002867/0.005901, allocations: 303.6 kB / 351.2 MB, free: 5.809 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.318e-05/0.005964, allocations: 43 kB / 351.2 MB, free: 5.754 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.326e-05/0.005988, allocations: 23.73 kB / 351.3 MB, free: 5.727 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.401e-05/0.006012, allocations: 4 kB / 351.3 MB, free: 5.723 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.516e-05/0.006027, allocations: 33.39 kB / 351.3 MB, free: 5.68 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.833e-06/0.006029, allocations: 0 / 351.3 MB, free: 5.68 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.000382/0.006411, allocations: 137.4 kB / 351.4 MB, free: 5.539 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.92e-05/0.00643, allocations: 55.41 kB / 351.5 MB, free: 5.473 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/0.006541, allocations: 250.6 kB / 351.7 MB, free: 5.211 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.511e-06/0.006546, allocations: 25.7 kB / 351.8 MB, free: 5.18 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.726e-05/0.006583, allocations: 158.8 kB / 351.9 MB, free: 5.02 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.603e-05/0.00661, allocations: 27.73 kB / 351.9 MB, free: 4.992 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.099e-05/0.006641, allocations: 27.38 kB / 352 MB, free: 4.957 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.805e-05/0.006699, allocations: 0.5 MB / 352.5 MB, free: 4.445 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.281e-05/0.006721, allocations: 11.98 kB / 352.5 MB, free: 4.434 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.664e-05/0.006738, allocations: 12 kB / 352.5 MB, free: 4.422 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.279e-05/0.006781, allocations: 35.91 kB / 352.5 MB, free: 4.383 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.006782, allocations: 0 / 352.5 MB, free: 4.383 MB / 282.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.26e-05/0.006864, allocations: 77.98 kB / 352.6 MB, free: 4.301 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.006877, allocations: 8 kB / 352.6 MB, free: 4.293 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.006882, allocations: 3.984 kB / 352.6 MB, free: 4.289 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.006899, allocations: 0 / 352.6 MB, free: 4.289 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.524e-05/0.006985, allocations: 23.94 kB / 352.6 MB, free: 4.266 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.006991, allocations: 0 / 352.6 MB, free: 4.266 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.889e-05/0.00701, allocations: 7.984 kB / 352.6 MB, free: 4.258 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-06/0.007015, allocations: 0 / 352.6 MB, free: 4.258 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.7e-05/0.007062, allocations: 164.5 kB / 352.8 MB, free: 4.086 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.083e-05/0.007083, allocations: 19.91 kB / 352.8 MB, free: 4.066 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001239/0.007207, allocations: 83.08 kB / 352.9 MB, free: 3.98 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.00721, allocations: 7.922 kB / 352.9 MB, free: 3.973 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.007215, allocations: 4 kB / 352.9 MB, free: 3.969 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.007218, allocations: 0 / 352.9 MB, free: 3.969 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002352/0.007454, allocations: 361.3 kB / 353.3 MB, free: 3.574 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.007456, allocations: 0 / 353.3 MB, free: 3.574 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.11e-05/0.007497, allocations: 19.94 kB / 353.3 MB, free: 3.555 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.0075, allocations: 3.984 kB / 353.3 MB, free: 3.551 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-06/0.007508, allocations: 7.938 kB / 353.3 MB, free: 3.543 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.007509, allocations: 0 / 353.3 MB, free: 3.543 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.007511, allocations: 4 kB / 353.3 MB, free: 3.539 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.782e-05/0.007599, allocations: 219.8 kB / 353.5 MB, free: 3.305 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.899e-06/0.007608, allocations: 11.91 kB / 353.5 MB, free: 3.293 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.499e-05/0.007623, allocations: 4 kB / 353.5 MB, free: 3.289 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.397e-05/0.007657, allocations: 7.984 kB / 353.5 MB, free: 3.281 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.038e-05/0.007698, allocations: 4 kB / 353.5 MB, free: 3.277 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.568e-06/0.007702, allocations: 0 / 353.5 MB, free: 3.277 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.483e-05/0.007767, allocations: 187.1 kB / 353.7 MB, free: 3.094 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007767, allocations: 0 / 353.7 MB, free: 3.094 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001761/0.007943, allocations: 12 kB / 353.7 MB, free: 3.082 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.0008383/0.008782, allocations: 387.4 kB / 354.1 MB, free: 2.797 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001168/0.008898, allocations: 39.66 kB / 354.2 MB, free: 2.754 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.008901, allocations: 4 kB / 354.2 MB, free: 2.75 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.581e-05/0.008927, allocations: 31.61 kB / 354.2 MB, free: 2.715 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002217/0.009148, allocations: 21.23 kB / 354.2 MB, free: 2.695 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003476/0.009496, allocations: 222.2 kB / 354.4 MB, free: 2.449 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.117e-05/0.009527, allocations: 67.33 kB / 354.5 MB, free: 2.363 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.979e-05/0.009557, allocations: 12.73 kB / 354.5 MB, free: 2.352 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.07e-05/0.009588, allocations: 12.5 kB / 354.5 MB, free: 2.34 MB / 282.7 MB Notification: Performance of SimCode: time 8.92e-07/0.009588, allocations: 4 kB / 354.5 MB, free: 2.336 MB / 282.7 MB Notification: Performance of Templates: time 0.003147/0.01274, allocations: 1.248 MB / 355.8 MB, free: 1.098 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.200642343144864]