Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35.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.001346/0.001346, allocations: 112.5 kB / 18.45 MB, free: 4.605 MB / 14.72 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.001499/0.001499, allocations: 207.3 kB / 21.41 MB, free: 1.648 MB / 14.72 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 1.535/1.535, allocations: 230.6 MB / 254.8 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] 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.2451/0.2451, allocations: 46.92 MB / 357.8 MB, free: 10.29 MB / 286.1 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.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 63.91 kB / 0.4921 GB, free: 7.41 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1342, allocations: 66 MB / 0.5565 GB, free: 5.285 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test35): time 0.00379/0.138, allocations: 1.601 MB / 0.5581 GB, free: 3.672 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001957/0.14, allocations: 1.167 MB / 0.5592 GB, free: 2.496 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.395e-05/0.1401, allocations: 4 kB / 0.5592 GB, free: 2.492 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000271/0.1403, allocations: 23.84 kB / 0.5593 GB, free: 2.469 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003407/0.1407, allocations: 79.62 kB / 0.5593 GB, free: 2.391 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003171/0.141, allocations: 95.62 kB / 0.5594 GB, free: 2.297 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001916/0.1412, allocations: 67.78 kB / 0.5595 GB, free: 2.23 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.1413, allocations: 19.97 kB / 0.5595 GB, free: 2.211 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.704e-05/0.1414, allocations: 23.92 kB / 0.5595 GB, free: 2.188 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001884/0.1416, allocations: 31.84 kB / 0.5596 GB, free: 2.156 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.1416, allocations: 4 kB / 0.5596 GB, free: 2.152 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002214/0.1418, allocations: 99.88 kB / 0.5597 GB, free: 2.055 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.622e-05/0.1419, allocations: 23.91 kB / 0.5597 GB, free: 2.031 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.38e-05/0.1419, allocations: 23.75 kB / 0.5597 GB, free: 2.008 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003103/0.1422, allocations: 139.5 kB / 0.5598 GB, free: 1.871 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.1422, allocations: 0 / 0.5598 GB, free: 1.871 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1422, allocations: 0 / 0.5598 GB, free: 1.871 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.446e-06/0.1422, allocations: 4 kB / 0.5599 GB, free: 1.867 MB / 414.1 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.0006778/0.1429, allocations: 406.7 kB / 0.5602 GB, free: 1.422 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.143, allocations: 12.03 kB / 0.5602 GB, free: 1.41 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.249e-05/0.143, allocations: 8.891 kB / 0.5603 GB, free: 1.402 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002752/0.1433, allocations: 194 kB / 0.5604 GB, free: 1.176 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.1433, allocations: 384 / 0.5604 GB, free: 1.176 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.33e-05/0.1433, allocations: 4.375 kB / 0.5604 GB, free: 1.172 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000194/0.1435, allocations: 71.52 kB / 0.5605 GB, free: 1.09 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.1435, allocations: 0 / 0.5605 GB, free: 1.09 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.1436, allocations: 0 / 0.5605 GB, free: 1.09 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.247e-06/0.1436, allocations: 0 / 0.5605 GB, free: 1.09 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000109/0.1437, allocations: 23.92 kB / 0.5605 GB, free: 1.066 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004612/0.1441, allocations: 280.9 kB / 0.5608 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002297/0.1444, allocations: 42.56 kB / 0.5608 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.688e-05/0.1444, allocations: 16.8 kB / 0.5609 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.803e-05/0.1444, allocations: 3.984 kB / 0.5609 GB, free: 0.668 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.421e-05/0.1445, allocations: 38.64 kB / 0.5609 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.1445, allocations: 0 / 0.5609 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006403/0.1451, allocations: 141.4 kB / 0.561 GB, free: 488 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.621e-05/0.1452, allocations: 77.11 kB / 0.5611 GB, free: 392 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001771/0.1454, allocations: 143.5 kB / 0.5612 GB, free: 240 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.02e-05/0.1454, allocations: 25.7 kB / 0.5613 GB, free: 208 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.646e-05/0.1455, allocations: 96.12 kB / 0.5614 GB, free: 108 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.042e-05/0.1455, allocations: 23.78 kB / 0.5614 GB, free: 84 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.195e-05/0.1456, allocations: 17.72 kB / 0.5614 GB, free: 60 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001859/0.1457, allocations: 326.8 kB / 0.5617 GB, free: 15.73 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.726e-05/0.1458, allocations: 24.05 kB / 0.5617 GB, free: 15.71 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.199e-05/0.1459, allocations: 29.7 kB / 0.5618 GB, free: 15.67 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001455/0.1461, allocations: 48.83 kB / 0.5618 GB, free: 15.62 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.1461, allocations: 0 / 0.5618 GB, free: 15.62 MB / 430.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002112/0.1463, allocations: 85.5 kB / 0.5619 GB, free: 15.53 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.1463, allocations: 14.2 kB / 0.5619 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-06/0.1463, allocations: 0 / 0.5619 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.1463, allocations: 4 kB / 0.5619 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.682e-05/0.1464, allocations: 8 kB / 0.5619 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.1464, allocations: 0 / 0.5619 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.274e-05/0.1464, allocations: 7.984 kB / 0.5619 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.299e-05/0.1465, allocations: 7.922 kB / 0.5619 GB, free: 15.49 MB / 430.1 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 0.0001144/0.1466, allocations: 120 kB / 0.5621 GB, free: 15.37 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.942e-05/0.1466, allocations: 11.95 kB / 0.5621 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002653/0.1469, allocations: 93.91 kB / 0.5622 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.1469, allocations: 0 / 0.5622 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.1469, allocations: 3.984 kB / 0.5622 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.1469, allocations: 0 / 0.5622 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004947/0.1474, allocations: 346.8 kB / 0.5625 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/0.1474, allocations: 4 kB / 0.5625 GB, free: 14.85 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.751e-05/0.1475, allocations: 23.92 kB / 0.5625 GB, free: 14.83 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.1475, allocations: 0 / 0.5625 GB, free: 14.83 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.1475, allocations: 0 / 0.5625 GB, free: 14.83 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.1475, allocations: 3.938 kB / 0.5625 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.1475, allocations: 4 kB / 0.5625 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002653/0.1477, allocations: 179.5 kB / 0.5627 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.685e-05/0.1478, allocations: 81.06 kB / 0.5628 GB, free: 14.53 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.356e-05/0.1478, allocations: 8 kB / 0.5628 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.713e-05/0.1479, allocations: 7.938 kB / 0.5628 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.538e-05/0.148, allocations: 7.984 kB / 0.5628 GB, free: 14.51 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-06/0.148, allocations: 0 / 0.5628 GB, free: 14.51 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000107/0.1481, allocations: 111.3 kB / 0.5629 GB, free: 14.4 MB / 430.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1481, allocations: 0 / 0.5629 GB, free: 14.4 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003187/0.1484, allocations: 39.86 kB / 0.5629 GB, free: 14.36 MB / 430.1 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.001802/0.1502, allocations: 0.4898 MB / 0.5634 GB, free: 14.05 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002323/0.1504, allocations: 47.97 kB / 0.5635 GB, free: 14.01 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.1504, allocations: 0 / 0.5635 GB, free: 14.01 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.188e-05/0.1505, allocations: 23.98 kB / 0.5635 GB, free: 13.98 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000364/0.1509, allocations: 18.48 kB / 0.5635 GB, free: 13.97 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005333/0.1514, allocations: 195.1 kB / 0.5637 GB, free: 13.75 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003899/0.1518, allocations: 0.6963 MB / 0.5644 GB, free: 13.02 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.702e-05/0.1519, allocations: 15.44 kB / 0.5644 GB, free: 13.01 MB / 430.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1519, allocations: 0 / 0.5644 GB, free: 13.01 MB / 430.1 MB Notification: Performance of Templates: time 0.00443/0.1563, allocations: 1.934 MB / 0.5663 GB, free: 11.08 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test35/Test35.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.833282516978215]