Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001225/0.001225, allocations: 80.31 kB / 22.21 MB, free: 2.285 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.001095/0.001095, allocations: 168.6 kB / 25.62 MB, free: 8.914 MB / 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.9617/0.9617, allocations: 177.1 MB / 206 MB, free: 4.527 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1389/0.1389, allocations: 32.8 MB / 295.4 MB, free: 15.4 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.435e-06/2.435e-06, allocations: 0 / 377.3 MB, free: 25.59 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.593e-05/2.836e-05, allocations: 2.312 kB / 377.3 MB, free: 25.59 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.002363/0.002391, allocations: 1.646 MB / 378.9 MB, free: 23.93 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007285/0.00312, allocations: 0.5258 MB / 379.5 MB, free: 23.4 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.22e-05/0.003192, allocations: 4 kB / 379.5 MB, free: 23.39 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002734/0.003465, allocations: 75.7 kB / 379.5 MB, free: 23.32 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002713/0.003737, allocations: 103.5 kB / 379.6 MB, free: 23.22 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002315/0.003968, allocations: 91.64 kB / 379.7 MB, free: 23.13 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001356/0.004104, allocations: 83.75 kB / 379.8 MB, free: 23.05 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.836e-05/0.004202, allocations: 19.98 kB / 379.8 MB, free: 23.03 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.813e-05/0.00427, allocations: 39.89 kB / 379.9 MB, free: 22.99 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.608e-05/0.004366, allocations: 59.86 kB / 379.9 MB, free: 22.93 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.335e-05/0.00438, allocations: 4 kB / 379.9 MB, free: 22.93 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.524e-05/0.004455, allocations: 47.86 kB / 380 MB, free: 22.88 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.298e-05/0.004498, allocations: 23.91 kB / 380 MB, free: 22.86 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.167e-05/0.00452, allocations: 11.94 kB / 380 MB, free: 22.84 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001384/0.004658, allocations: 91.66 kB / 380.1 MB, free: 22.75 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.004662, allocations: 3.938 kB / 380.1 MB, free: 22.75 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.004663, allocations: 0 / 380.1 MB, free: 22.75 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.89e-06/0.004668, allocations: 4 kB / 380.1 MB, free: 22.75 MB / 314.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.0003382/0.005006, allocations: 439.9 kB / 380.5 MB, free: 22.28 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/0.005038, allocations: 15.98 kB / 380.6 MB, free: 22.27 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.332e-05/0.005072, allocations: 16.84 kB / 380.6 MB, free: 22.25 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001076/0.005179, allocations: 141.1 kB / 380.7 MB, free: 22.08 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.266e-06/0.005188, allocations: 8.375 kB / 380.7 MB, free: 22.07 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.697e-05/0.005204, allocations: 384 / 380.7 MB, free: 22.07 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.739e-05/0.005292, allocations: 62.94 kB / 380.8 MB, free: 22 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.005301, allocations: 192 / 380.8 MB, free: 22 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.364e-06/0.005308, allocations: 4.125 kB / 380.8 MB, free: 22 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.005313, allocations: 0 / 380.8 MB, free: 22 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.319e-05/0.005336, allocations: 15.98 kB / 380.8 MB, free: 21.98 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002142/0.00555, allocations: 276.3 kB / 381.1 MB, free: 21.69 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.983e-05/0.0056, allocations: 35.05 kB / 381.1 MB, free: 21.64 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.421e-05/0.005614, allocations: 11.69 kB / 381.1 MB, free: 21.62 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.558e-05/0.00563, allocations: 4 kB / 381.1 MB, free: 21.62 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.451e-05/0.005644, allocations: 41.33 kB / 381.2 MB, free: 21.57 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.005645, allocations: 0 / 381.2 MB, free: 21.57 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004403/0.006085, allocations: 161.4 kB / 381.3 MB, free: 21.41 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.238e-05/0.006108, allocations: 59.34 kB / 381.4 MB, free: 21.34 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.179e-05/0.006199, allocations: 230.8 kB / 381.6 MB, free: 21.09 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.453e-06/0.006206, allocations: 29.7 kB / 381.6 MB, free: 21.06 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.7e-05/0.006243, allocations: 158.8 kB / 381.8 MB, free: 20.9 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.251e-05/0.006265, allocations: 31.72 kB / 381.8 MB, free: 20.87 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.961e-05/0.006295, allocations: 23.38 kB / 381.8 MB, free: 20.84 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.299e-05/0.006348, allocations: 0.5001 MB / 382.3 MB, free: 20.32 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.349e-05/0.006361, allocations: 8 kB / 382.3 MB, free: 20.32 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.382e-05/0.006375, allocations: 7.984 kB / 382.3 MB, free: 20.31 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.455e-05/0.00641, allocations: 27.69 kB / 382.4 MB, free: 20.28 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.006411, allocations: 7.938 kB / 382.4 MB, free: 20.27 MB / 314.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.723e-05/0.006488, allocations: 73.56 kB / 382.5 MB, free: 20.19 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.006499, allocations: 4 kB / 382.5 MB, free: 20.19 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.006505, allocations: 0 / 382.5 MB, free: 20.19 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.668e-06/0.006515, allocations: 3.984 kB / 382.5 MB, free: 20.18 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.536e-05/0.00658, allocations: 16 kB / 382.5 MB, free: 20.17 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-06/0.006584, allocations: 0 / 382.5 MB, free: 20.17 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.874e-05/0.006603, allocations: 7.984 kB / 382.5 MB, free: 20.16 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-06/0.006608, allocations: 4 kB / 382.5 MB, free: 20.16 MB / 314.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 5.249e-05/0.006661, allocations: 156.5 kB / 382.6 MB, free: 19.99 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.371e-05/0.006685, allocations: 27.84 kB / 382.7 MB, free: 19.96 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000121/0.006806, allocations: 79.14 kB / 382.7 MB, free: 19.88 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.006808, allocations: 0 / 382.7 MB, free: 19.88 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.006809, allocations: 0 / 382.7 MB, free: 19.88 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.006813, allocations: 0 / 382.7 MB, free: 19.88 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000229/0.007042, allocations: 345.6 kB / 383.1 MB, free: 19.5 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.007043, allocations: 0 / 383.1 MB, free: 19.5 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.065e-05/0.007084, allocations: 15.98 kB / 383.1 MB, free: 19.49 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.007086, allocations: 0 / 383.1 MB, free: 19.49 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.144e-06/0.007093, allocations: 4.031 kB / 383.1 MB, free: 19.48 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.007095, allocations: 4 kB / 383.1 MB, free: 19.48 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.007097, allocations: 4.406 kB / 383.1 MB, free: 19.48 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.98e-05/0.007187, allocations: 243.4 kB / 383.4 MB, free: 19.21 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.007e-05/0.007197, allocations: 15.89 kB / 383.4 MB, free: 19.2 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.054e-05/0.007208, allocations: 0 / 383.4 MB, free: 19.2 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.285e-05/0.00724, allocations: 11.94 kB / 383.4 MB, free: 19.19 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.338e-05/0.007264, allocations: 3.984 kB / 383.4 MB, free: 19.18 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.007267, allocations: 4 kB / 383.4 MB, free: 19.18 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.291e-05/0.00731, allocations: 163.1 kB / 383.5 MB, free: 19.02 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00731, allocations: 0 / 383.5 MB, free: 19.02 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001651/0.007476, allocations: 23.94 kB / 383.6 MB, free: 19 MB / 314.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.0008933/0.008369, allocations: 436.7 kB / 384 MB, free: 18.74 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000104/0.008473, allocations: 39.66 kB / 384 MB, free: 18.7 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.008475, allocations: 0 / 384 MB, free: 18.7 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.266e-05/0.008497, allocations: 27.61 kB / 384.1 MB, free: 18.66 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002242/0.008722, allocations: 25.22 kB / 384.1 MB, free: 18.64 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000297/0.009019, allocations: 227.9 kB / 384.3 MB, free: 18.39 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.918e-05/0.009048, allocations: 67.2 kB / 384.4 MB, free: 18.3 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.582e-05/0.009084, allocations: 21 kB / 384.4 MB, free: 18.29 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.072e-05/0.009134, allocations: 82.2 kB / 384.5 MB, free: 18.2 MB / 314.7 MB Notification: Performance of SimCode: time 6.61e-07/0.009135, allocations: 0 / 384.5 MB, free: 18.2 MB / 314.7 MB Notification: Performance of Templates: time 0.003172/0.01231, allocations: 1.522 MB / 386 MB, free: 16.7 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.2301542460918427]