Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.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.001474/0.001474, allocations: 104.3 kB / 20.45 MB, free: 1.395 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.001738/0.001738, allocations: 208.3 kB / 23.74 MB, free: 4.566 MB / 14.72 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 1.572/1.572, allocations: 207.7 MB / 234.6 MB, free: 9.809 MB / 190.1 MB " [Timeout remaining time 178] 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.2358/0.2358, allocations: 44.27 MB / 331.1 MB, free: 9.32 MB / 270.1 MB " [Timeout remaining time 179] 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.CombiTable1D.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2") translateModel(ModelicaTest.Tables.CombiTable1D.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00239/0.00239, allocations: 73.62 kB / 468.8 MB, free: 3.852 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1395, allocations: 61.05 MB / 0.5174 GB, free: 6.672 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test2): time 0.003358/0.1428, allocations: 1.553 MB / 0.5189 GB, free: 5.109 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007203/0.1436, allocations: 323.6 kB / 0.5192 GB, free: 4.789 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.554e-05/0.1436, allocations: 0 / 0.5192 GB, free: 4.789 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002148/0.1438, allocations: 27.86 kB / 0.5192 GB, free: 4.762 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001927/0.144, allocations: 31.78 kB / 0.5193 GB, free: 4.73 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002909/0.1443, allocations: 95.81 kB / 0.5194 GB, free: 4.637 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001479/0.1445, allocations: 63.77 kB / 0.5194 GB, free: 4.574 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.1446, allocations: 15.97 kB / 0.5194 GB, free: 4.559 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.199e-05/0.1446, allocations: 19.94 kB / 0.5195 GB, free: 4.539 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.447e-05/0.1447, allocations: 15.86 kB / 0.5195 GB, free: 4.523 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.097e-05/0.1447, allocations: 4 kB / 0.5195 GB, free: 4.52 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.949e-05/0.1448, allocations: 35.97 kB / 0.5195 GB, free: 4.484 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.688e-05/0.1448, allocations: 4 kB / 0.5195 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.63e-05/0.1449, allocations: 23.8 kB / 0.5195 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001692/0.145, allocations: 71.73 kB / 0.5196 GB, free: 4.387 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.145, allocations: 0 / 0.5196 GB, free: 4.387 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.145, allocations: 7.938 kB / 0.5196 GB, free: 4.379 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.591e-06/0.1451, allocations: 0 / 0.5196 GB, free: 4.379 MB / 398.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.0004673/0.1455, allocations: 301.9 kB / 0.5199 GB, free: 4.055 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.1456, allocations: 12.03 kB / 0.5199 GB, free: 4.043 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.099e-05/0.1456, allocations: 4.891 kB / 0.5199 GB, free: 4.039 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00018/0.1458, allocations: 138.4 kB / 0.52 GB, free: 3.879 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.797e-06/0.1458, allocations: 384 / 0.52 GB, free: 3.879 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.22e-05/0.1458, allocations: 384 / 0.52 GB, free: 3.879 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001483/0.1459, allocations: 57.75 kB / 0.5201 GB, free: 3.816 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.146, allocations: 0 / 0.5201 GB, free: 3.816 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.647e-06/0.146, allocations: 4 kB / 0.5201 GB, free: 3.812 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.146, allocations: 4 kB / 0.5201 GB, free: 3.809 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.182e-05/0.1461, allocations: 23.97 kB / 0.5201 GB, free: 3.785 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003749/0.1464, allocations: 220.6 kB / 0.5203 GB, free: 3.539 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002156/0.1467, allocations: 50.5 kB / 0.5204 GB, free: 3.48 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.42e-05/0.1467, allocations: 12.94 kB / 0.5204 GB, free: 3.465 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.014e-05/0.1467, allocations: 4 kB / 0.5204 GB, free: 3.461 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/0.1468, allocations: 34.56 kB / 0.5204 GB, free: 3.418 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.1468, allocations: 4 kB / 0.5204 GB, free: 3.414 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005903/0.1473, allocations: 145.4 kB / 0.5206 GB, free: 3.266 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.503e-05/0.1474, allocations: 51.41 kB / 0.5206 GB, free: 3.203 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001609/0.1476, allocations: 138.1 kB / 0.5208 GB, free: 3.055 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.057e-05/0.1476, allocations: 29.7 kB / 0.5208 GB, free: 3.02 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.306e-05/0.1476, allocations: 88.14 kB / 0.5209 GB, free: 2.93 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.952e-05/0.1477, allocations: 27.78 kB / 0.5209 GB, free: 2.902 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.916e-05/0.1477, allocations: 17.72 kB / 0.5209 GB, free: 2.879 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001755/0.1479, allocations: 326.8 kB / 0.5212 GB, free: 2.551 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.318e-05/0.148, allocations: 19.98 kB / 0.5212 GB, free: 2.531 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.46e-05/0.148, allocations: 23.92 kB / 0.5213 GB, free: 2.508 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001371/0.1482, allocations: 52.77 kB / 0.5213 GB, free: 2.453 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1482, allocations: 0 / 0.5213 GB, free: 2.453 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002102/0.1484, allocations: 89.61 kB / 0.5214 GB, free: 2.359 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.1484, allocations: 4 kB / 0.5214 GB, free: 2.355 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.1484, allocations: 4 kB / 0.5214 GB, free: 2.352 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.1484, allocations: 0 / 0.5214 GB, free: 2.352 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.453e-05/0.1485, allocations: 15.98 kB / 0.5214 GB, free: 2.336 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.1485, allocations: 0 / 0.5214 GB, free: 2.336 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.91e-05/0.1485, allocations: 4 kB / 0.5214 GB, free: 2.332 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.1485, allocations: 0 / 0.5214 GB, free: 2.332 MB / 398.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 9.889e-05/0.1486, allocations: 117.8 kB / 0.5215 GB, free: 2.207 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.251e-05/0.1487, allocations: 11.94 kB / 0.5216 GB, free: 2.195 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002594/0.1489, allocations: 106.5 kB / 0.5217 GB, free: 2.082 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.1489, allocations: 3.938 kB / 0.5217 GB, free: 2.078 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.1489, allocations: 8.047 kB / 0.5217 GB, free: 2.07 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.1489, allocations: 0 / 0.5217 GB, free: 2.07 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004305/0.1494, allocations: 298.1 kB / 0.522 GB, free: 1.742 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1494, allocations: 0 / 0.522 GB, free: 1.742 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.263e-05/0.1494, allocations: 11.98 kB / 0.522 GB, free: 1.73 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1494, allocations: 0 / 0.522 GB, free: 1.73 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.725e-06/0.1494, allocations: 0 / 0.522 GB, free: 1.73 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.1494, allocations: 8 kB / 0.522 GB, free: 1.723 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1494, allocations: 0 / 0.522 GB, free: 1.723 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002493/0.1497, allocations: 183.4 kB / 0.5221 GB, free: 1.527 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.458e-05/0.1497, allocations: 7.953 kB / 0.5222 GB, free: 1.52 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.51e-05/0.1497, allocations: 0 / 0.5222 GB, free: 1.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.682e-05/0.1498, allocations: 7.984 kB / 0.5222 GB, free: 1.512 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.02e-05/0.1498, allocations: 4 kB / 0.5222 GB, free: 1.508 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.156e-06/0.1498, allocations: 7.922 kB / 0.5222 GB, free: 1.5 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.923e-05/0.1499, allocations: 115 kB / 0.5223 GB, free: 1.391 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1499, allocations: 4 kB / 0.5223 GB, free: 1.387 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002432/0.1502, allocations: 19.94 kB / 0.5223 GB, free: 1.367 MB / 398.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.00164/0.1518, allocations: 430.7 kB / 0.5227 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002141/0.152, allocations: 47.95 kB / 0.5228 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.152, allocations: 0 / 0.5228 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.246e-05/0.1521, allocations: 31.92 kB / 0.5228 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003555/0.1525, allocations: 31.77 kB / 0.5228 GB, free: 0.875 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004182/0.1529, allocations: 191.1 kB / 0.523 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.252e-05/0.153, allocations: 75.31 kB / 0.5231 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.202e-05/0.153, allocations: 15.44 kB / 0.5231 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of SimCode: time 3e-07/0.153, allocations: 0 / 0.5231 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of Templates: time 0.003494/0.1565, allocations: 1.411 MB / 0.5245 GB, free: 15.14 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.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.851330727338791]