Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.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.001434/0.001434, allocations: 87.58 kB / 21.18 MB, free: 3.375 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.001881/0.001881, allocations: 161 kB / 24.56 MB, free: 8 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.9875/0.9875, allocations: 177.1 MB / 205 MB, free: 5.637 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.3282/0.3282, allocations: 34.25 MB / 295.7 MB, free: 0.7539 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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 378.1 MB, free: 2.645 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.169e-05/2.297e-05, allocations: 5.688 kB / 378.1 MB, free: 2.641 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.002228/0.002251, allocations: 1.653 MB / 379.7 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007441/0.002995, allocations: 0.5337 MB / 380.2 MB, free: 444 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.573e-05/0.003051, allocations: 4 kB / 380.3 MB, free: 440 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002581/0.003309, allocations: 79.64 kB / 380.3 MB, free: 360 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002908/0.0036, allocations: 111.5 kB / 380.4 MB, free: 248 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002401/0.00384, allocations: 91.62 kB / 380.5 MB, free: 156 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001494/0.00399, allocations: 87.7 kB / 380.6 MB, free: 68 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.368e-05/0.004083, allocations: 11.97 kB / 380.6 MB, free: 56 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.344e-05/0.004147, allocations: 43.91 kB / 380.7 MB, free: 12 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001137/0.00426, allocations: 59.95 kB / 380.7 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.528e-05/0.004276, allocations: 0 / 380.7 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.555e-05/0.004361, allocations: 51.91 kB / 380.8 MB, free: 15.9 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.632e-05/0.004408, allocations: 19.94 kB / 380.8 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.903e-05/0.004437, allocations: 11.92 kB / 380.8 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001591/0.004596, allocations: 95.56 kB / 380.9 MB, free: 15.78 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.003e-06/0.004598, allocations: 0 / 380.9 MB, free: 15.78 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.004598, allocations: 0 / 380.9 MB, free: 15.78 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.004603, allocations: 0 / 380.9 MB, free: 15.78 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.0003833/0.004986, allocations: 439.9 kB / 381.3 MB, free: 15.31 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.005021, allocations: 8.031 kB / 381.3 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.235e-05/0.005063, allocations: 20.84 kB / 381.4 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001391/0.005202, allocations: 149.1 kB / 381.5 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.005213, allocations: 8.375 kB / 381.5 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.425e-05/0.005238, allocations: 384 / 381.5 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001181/0.005356, allocations: 62.89 kB / 381.6 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.005364, allocations: 192 / 381.6 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.005375, allocations: 4.125 kB / 381.6 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.852e-06/0.005382, allocations: 0 / 381.6 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.332e-05/0.005415, allocations: 11.98 kB / 381.6 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003001/0.005716, allocations: 295.7 kB / 381.9 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.45e-05/0.00578, allocations: 43.08 kB / 381.9 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.601e-05/0.005806, allocations: 23.7 kB / 381.9 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.03e-05/0.005826, allocations: 0 / 381.9 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.142e-05/0.005848, allocations: 37.39 kB / 382 MB, free: 14.56 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.005849, allocations: 0 / 382 MB, free: 14.56 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.000521/0.00637, allocations: 169.3 kB / 382.1 MB, free: 14.39 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.647e-05/0.006396, allocations: 51.41 kB / 382.2 MB, free: 14.33 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001463/0.006543, allocations: 242.4 kB / 382.4 MB, free: 14.07 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.081e-05/0.006553, allocations: 29.7 kB / 382.5 MB, free: 14.04 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.344e-05/0.006617, allocations: 166.7 kB / 382.6 MB, free: 13.87 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.353e-05/0.00664, allocations: 23.81 kB / 382.6 MB, free: 13.85 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.477e-05/0.006675, allocations: 27.36 kB / 382.7 MB, free: 13.81 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.006803, allocations: 0.5 MB / 383.2 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.039e-05/0.006823, allocations: 8 kB / 383.2 MB, free: 13.29 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.18e-05/0.006845, allocations: 15.98 kB / 383.2 MB, free: 13.28 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.864e-05/0.006893, allocations: 27.69 kB / 383.2 MB, free: 13.25 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.006895, allocations: 0 / 383.2 MB, free: 13.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001126/0.007008, allocations: 81.58 kB / 383.3 MB, free: 13.16 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.007024, allocations: 6.031 kB / 383.3 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.007031, allocations: 8 kB / 383.3 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.00705, allocations: 0 / 383.3 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.91e-05/0.007139, allocations: 19.92 kB / 383.3 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.007147, allocations: 4 kB / 383.3 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.095e-05/0.007168, allocations: 4 kB / 383.3 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.007175, allocations: 4 kB / 383.3 MB, free: 13.12 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 (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 8.136e-05/0.007257, allocations: 164.5 kB / 383.5 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.782e-05/0.007285, allocations: 15.91 kB / 383.5 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001618/0.007446, allocations: 83.55 kB / 383.6 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.007453, allocations: 11.94 kB / 383.6 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.007458, allocations: 0 / 383.6 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.007463, allocations: 0 / 383.6 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003517/0.007815, allocations: 385.3 kB / 384 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.007817, allocations: 0 / 384 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.212e-05/0.007859, allocations: 12 kB / 384 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.624e-06/0.007862, allocations: 0 / 384 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.007871, allocations: 8 kB / 384 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.007874, allocations: 3.984 kB / 384 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.007875, allocations: 0 / 384 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001253/0.008, allocations: 239.4 kB / 384.3 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.278e-06/0.008009, allocations: 7.953 kB / 384.3 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.32e-05/0.008022, allocations: 4 kB / 384.3 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.535e-05/0.008058, allocations: 4 kB / 384.3 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.773e-05/0.008096, allocations: 11.92 kB / 384.3 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.08e-06/0.008101, allocations: 4 kB / 384.3 MB, free: 12.1 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.733e-05/0.008178, allocations: 175.1 kB / 384.5 MB, free: 11.93 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008178, allocations: 0 / 384.5 MB, free: 11.93 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001759/0.008354, allocations: 16 kB / 384.5 MB, free: 11.91 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.000938/0.009292, allocations: 443 kB / 384.9 MB, free: 11.63 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001162/0.009408, allocations: 43.61 kB / 384.9 MB, free: 11.59 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.00941, allocations: 0 / 384.9 MB, free: 11.59 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.252e-05/0.009443, allocations: 31.66 kB / 385 MB, free: 11.55 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002293/0.009672, allocations: 27.88 kB / 385 MB, free: 11.52 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003982/0.01007, allocations: 229.8 kB / 385.2 MB, free: 11.27 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.185e-05/0.01012, allocations: 71.33 kB / 385.3 MB, free: 11.18 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.861e-05/0.01016, allocations: 17.09 kB / 385.3 MB, free: 11.16 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.287e-05/0.01019, allocations: 12.5 kB / 385.3 MB, free: 11.15 MB / 362.7 MB Notification: Performance of SimCode: time 7.02e-07/0.01019, allocations: 0 / 385.3 MB, free: 11.15 MB / 362.7 MB Notification: Performance of Templates: time 0.003236/0.01343, allocations: 1.369 MB / 386.7 MB, free: 9.789 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.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.4641770282760262]