Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20.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.001015/0.001015, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.001014/0.001014, allocations: 161 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.9767/0.9767, allocations: 177.1 MB / 205 MB, free: 5.621 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.2764/0.2764, allocations: 34.26 MB / 295.7 MB, free: 0.7852 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.CombiTable1Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.233e-06/1.233e-06, allocations: 0 / 378 MB, free: 2.668 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.41e-05/1.533e-05, allocations: 2.312 kB / 378 MB, free: 2.664 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.002014/0.002029, allocations: 1.646 MB / 379.7 MB, free: 1.004 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001196/0.003225, allocations: 1.27 MB / 381 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.634e-05/0.003281, allocations: 0 / 381 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001992/0.00348, allocations: 19.69 kB / 381 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002772/0.003757, allocations: 95.48 kB / 381.1 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002192/0.003977, allocations: 91.62 kB / 381.2 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001311/0.004108, allocations: 67.83 kB / 381.2 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.886e-05/0.004197, allocations: 15.98 kB / 381.2 MB, free: 15.44 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.528e-05/0.004252, allocations: 31.91 kB / 381.3 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.468e-05/0.004347, allocations: 27.91 kB / 381.3 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.553e-05/0.004362, allocations: 0 / 381.3 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001233/0.004485, allocations: 95.81 kB / 381.4 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.976e-05/0.004525, allocations: 15.92 kB / 381.4 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.6e-05/0.004551, allocations: 11.94 kB / 381.4 MB, free: 15.26 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001868/0.004738, allocations: 131.5 kB / 381.6 MB, free: 15.13 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.00474, allocations: 4 kB / 381.6 MB, free: 15.13 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.004741, allocations: 0 / 381.6 MB, free: 15.13 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.286e-06/0.004744, allocations: 0 / 381.6 MB, free: 15.13 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004284/0.005172, allocations: 431.9 kB / 382 MB, free: 14.67 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.005207, allocations: 12.02 kB / 382 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.948e-05/0.005247, allocations: 8.891 kB / 382 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/0.00538, allocations: 132.6 kB / 382.1 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.154e-06/0.005387, allocations: 384 / 382.1 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.29e-05/0.00541, allocations: 4.375 kB / 382.1 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001252/0.005535, allocations: 104 kB / 382.2 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.005543, allocations: 192 / 382.2 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.005553, allocations: 4.125 kB / 382.2 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.005561, allocations: 4 kB / 382.2 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.025e-05/0.005591, allocations: 12 kB / 382.3 MB, free: 14.35 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003156/0.005906, allocations: 271.8 kB / 382.5 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000155/0.006061, allocations: 46.98 kB / 382.6 MB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.213e-05/0.006083, allocations: 15.69 kB / 382.6 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.947e-05/0.006103, allocations: 4.031 kB / 382.6 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/0.006125, allocations: 41.38 kB / 382.6 MB, free: 13.91 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.006126, allocations: 0 / 382.6 MB, free: 13.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003232/0.006449, allocations: 105.4 kB / 382.7 MB, free: 13.8 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.106e-05/0.00648, allocations: 77.11 kB / 382.8 MB, free: 13.71 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001129/0.006593, allocations: 195.9 kB / 383 MB, free: 13.5 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.403e-05/0.006607, allocations: 41.62 kB / 383 MB, free: 13.46 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.897e-05/0.006656, allocations: 134.9 kB / 383.2 MB, free: 13.32 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.988e-05/0.006676, allocations: 23.78 kB / 383.2 MB, free: 13.3 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.889e-05/0.006705, allocations: 27.36 kB / 383.2 MB, free: 13.26 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.006809, allocations: 0.4884 MB / 383.7 MB, free: 12.76 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.682e-05/0.006826, allocations: 7.984 kB / 383.7 MB, free: 12.75 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.097e-05/0.006857, allocations: 49.08 kB / 383.8 MB, free: 12.69 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.127e-05/0.006898, allocations: 27.62 kB / 383.8 MB, free: 12.66 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.006899, allocations: 0 / 383.8 MB, free: 12.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.828e-05/0.006967, allocations: 57.62 kB / 383.8 MB, free: 12.6 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.006979, allocations: 8.031 kB / 383.9 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.006984, allocations: 0 / 383.9 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.006997, allocations: 0 / 383.9 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.776e-05/0.007034, allocations: 15.98 kB / 383.9 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.00704, allocations: 0 / 383.9 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.881e-05/0.007058, allocations: 3.953 kB / 383.9 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/0.007067, allocations: 8 kB / 383.9 MB, free: 12.56 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 (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 5.665e-05/0.007124, allocations: 152.6 kB / 384 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.442e-05/0.007148, allocations: 23.81 kB / 384.1 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001015/0.007249, allocations: 66.14 kB / 384.1 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.007251, allocations: 4.281 kB / 384.1 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.564e-06/0.007254, allocations: 0 / 384.1 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.007258, allocations: 3.984 kB / 384.1 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000347/0.007605, allocations: 325.7 kB / 384.4 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.007607, allocations: 4 kB / 384.4 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.863e-05/0.007636, allocations: 11.98 kB / 384.5 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.007638, allocations: 0 / 384.5 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.23e-06/0.007643, allocations: 0 / 384.5 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.007645, allocations: 4 kB / 384.5 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.007646, allocations: 0 / 384.5 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.906e-05/0.007745, allocations: 211.8 kB / 384.7 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.989e-06/0.007755, allocations: 11.94 kB / 384.7 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.078e-05/0.007766, allocations: 0 / 384.7 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.251e-05/0.007798, allocations: 0 / 384.7 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.509e-05/0.007833, allocations: 8 kB / 384.7 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.365e-06/0.007836, allocations: 7.875 kB / 384.7 MB, free: 11.67 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.25e-05/0.007898, allocations: 153.3 kB / 384.8 MB, free: 11.52 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007898, allocations: 0 / 384.8 MB, free: 11.52 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000192/0.00809, allocations: 39.86 kB / 384.9 MB, free: 11.48 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 (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.0009784/0.009068, allocations: 486.2 kB / 385.4 MB, free: 11.18 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.043e-05/0.009159, allocations: 27.67 kB / 385.4 MB, free: 11.14 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.009162, allocations: 4 kB / 385.4 MB, free: 11.14 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.21e-05/0.009184, allocations: 23.61 kB / 385.4 MB, free: 11.11 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001908/0.009375, allocations: 23.91 kB / 385.4 MB, free: 11.09 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003152/0.00969, allocations: 173.9 kB / 385.6 MB, free: 10.89 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.862e-05/0.009728, allocations: 62.39 kB / 385.7 MB, free: 10.81 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.318e-05/0.009762, allocations: 8 kB / 385.7 MB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.891e-05/0.0098, allocations: 16.48 kB / 385.7 MB, free: 10.79 MB / 362.7 MB Notification: Performance of SimCode: time 5.81e-07/0.009801, allocations: 4 kB / 385.7 MB, free: 10.79 MB / 362.7 MB Notification: Performance of Templates: time 0.003306/0.01311, allocations: 1.826 MB / 387.5 MB, free: 8.965 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.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.214689100626856]