Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.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.001658/0.001658, allocations: 100.4 kB / 20.45 MB, free: 1.383 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.002244/0.002244, allocations: 207.8 kB / 23.74 MB, free: 4.543 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.578/1.578, allocations: 207.7 MB / 234.6 MB, free: 9.777 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.2278/0.2278, allocations: 44.26 MB / 331.1 MB, free: 9.309 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.CombiTable2Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27") [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.002317/0.002317, allocations: 79.88 kB / 468.8 MB, free: 3.828 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1273, allocations: 61.03 MB / 0.5174 GB, free: 6.676 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test27): time 0.003426/0.1308, allocations: 1.63 MB / 0.519 GB, free: 5.031 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007625/0.1315, allocations: 335.7 kB / 0.5193 GB, free: 4.699 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.374e-05/0.1316, allocations: 0 / 0.5193 GB, free: 4.699 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002955/0.1319, allocations: 63.73 kB / 0.5193 GB, free: 4.637 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002215/0.1321, allocations: 55.81 kB / 0.5194 GB, free: 4.582 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004086/0.1325, allocations: 155.6 kB / 0.5195 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001783/0.1327, allocations: 83.73 kB / 0.5196 GB, free: 4.348 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.1328, allocations: 15.98 kB / 0.5196 GB, free: 4.332 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.802e-05/0.1329, allocations: 31.84 kB / 0.5197 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001119/0.133, allocations: 47.83 kB / 0.5197 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.94e-05/0.133, allocations: 4 kB / 0.5197 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.723e-05/0.1331, allocations: 35.98 kB / 0.5198 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.407e-05/0.1332, allocations: 23.91 kB / 0.5198 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.168e-05/0.1332, allocations: 23.8 kB / 0.5198 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002028/0.1334, allocations: 91.59 kB / 0.5199 GB, free: 4.078 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1334, allocations: 0 / 0.5199 GB, free: 4.078 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1334, allocations: 4 kB / 0.5199 GB, free: 4.074 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.1334, allocations: 0 / 0.5199 GB, free: 4.074 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005476/0.134, allocations: 321.8 kB / 0.5202 GB, free: 3.73 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.134, allocations: 11.97 kB / 0.5202 GB, free: 3.719 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.09e-05/0.1341, allocations: 8.891 kB / 0.5202 GB, free: 3.711 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001943/0.1342, allocations: 146.9 kB / 0.5204 GB, free: 3.543 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.1343, allocations: 4.312 kB / 0.5204 GB, free: 3.539 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.751e-05/0.1343, allocations: 11.88 kB / 0.5204 GB, free: 3.527 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001801/0.1345, allocations: 57.67 kB / 0.5204 GB, free: 3.465 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.1345, allocations: 0 / 0.5204 GB, free: 3.465 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.1345, allocations: 0 / 0.5204 GB, free: 3.465 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.1345, allocations: 4 kB / 0.5204 GB, free: 3.461 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001461/0.1346, allocations: 35.97 kB / 0.5205 GB, free: 3.426 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004289/0.1351, allocations: 256.4 kB / 0.5207 GB, free: 3.145 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001346/0.1352, allocations: 46.5 kB / 0.5208 GB, free: 3.09 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.577e-05/0.1353, allocations: 24.94 kB / 0.5208 GB, free: 3.062 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.64e-05/0.1353, allocations: 3.984 kB / 0.5208 GB, free: 3.059 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.1353, allocations: 34.56 kB / 0.5208 GB, free: 3.016 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.1353, allocations: 0 / 0.5208 GB, free: 3.016 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007885/0.1361, allocations: 233.4 kB / 0.521 GB, free: 2.781 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.574e-05/0.1362, allocations: 51.41 kB / 0.5211 GB, free: 2.719 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001793/0.1363, allocations: 182.3 kB / 0.5213 GB, free: 2.531 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.137e-05/0.1364, allocations: 33.7 kB / 0.5213 GB, free: 2.492 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.347e-05/0.1364, allocations: 100.1 kB / 0.5214 GB, free: 2.391 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.007e-05/0.1365, allocations: 23.75 kB / 0.5214 GB, free: 2.367 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.143e-05/0.1365, allocations: 21.7 kB / 0.5214 GB, free: 2.34 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.1366, allocations: 326.8 kB / 0.5217 GB, free: 2.012 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000117/0.1368, allocations: 35.95 kB / 0.5218 GB, free: 1.977 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001098/0.1369, allocations: 39.97 kB / 0.5218 GB, free: 1.938 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002282/0.1371, allocations: 88.73 kB / 0.5219 GB, free: 1.848 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.1371, allocations: 0 / 0.5219 GB, free: 1.848 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000286/0.1374, allocations: 129.6 kB / 0.522 GB, free: 1.715 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.1374, allocations: 4 kB / 0.522 GB, free: 1.711 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.1374, allocations: 0 / 0.522 GB, free: 1.711 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.1374, allocations: 0 / 0.522 GB, free: 1.711 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.1375, allocations: 19.98 kB / 0.522 GB, free: 1.691 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.85e-06/0.1375, allocations: 0 / 0.522 GB, free: 1.691 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.052e-05/0.1376, allocations: 19.92 kB / 0.5221 GB, free: 1.672 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.1376, allocations: 4 kB / 0.5221 GB, free: 1.668 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 (7): * Single equations (assignments): 7 * 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.0001098/0.1377, allocations: 133.8 kB / 0.5222 GB, free: 1.527 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.114e-05/0.1378, allocations: 7.953 kB / 0.5222 GB, free: 1.52 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003331/0.1381, allocations: 130.7 kB / 0.5223 GB, free: 1.383 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.1381, allocations: 7.922 kB / 0.5223 GB, free: 1.375 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.1381, allocations: 0 / 0.5223 GB, free: 1.375 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.1381, allocations: 7.938 kB / 0.5223 GB, free: 1.367 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005281/0.1386, allocations: 354.1 kB / 0.5227 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1386, allocations: 0 / 0.5227 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.851e-05/0.1387, allocations: 19.98 kB / 0.5227 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.1387, allocations: 0 / 0.5227 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.1387, allocations: 8 kB / 0.5227 GB, free: 0.957 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.1387, allocations: 3.938 kB / 0.5227 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.02e-07/0.1387, allocations: 0 / 0.5227 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003563/0.1391, allocations: 227.3 kB / 0.5229 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.591e-05/0.1391, allocations: 7.953 kB / 0.5229 GB, free: 0.707 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.795e-05/0.1391, allocations: 0 / 0.5229 GB, free: 0.707 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.458e-05/0.1392, allocations: 11.92 kB / 0.523 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.069e-05/0.1392, allocations: 7.984 kB / 0.523 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.857e-06/0.1393, allocations: 8 kB / 0.523 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001097/0.1394, allocations: 131.2 kB / 0.5231 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1394, allocations: 0 / 0.5231 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002472/0.1396, allocations: 23.98 kB / 0.5231 GB, free: 0.5273 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 (7): * Single equations (assignments): 7 * 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.00161/0.1412, allocations: 433.7 kB / 0.5235 GB, free: 148 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003031/0.1415, allocations: 87.88 kB / 0.5236 GB, free: 60 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1415, allocations: 0 / 0.5236 GB, free: 60 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001275/0.1417, allocations: 43.97 kB / 0.5237 GB, free: 16 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003953/0.142, allocations: 21.45 kB / 0.5237 GB, free: 15.99 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005172/0.1426, allocations: 271.8 kB / 0.5239 GB, free: 15.7 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001019/0.1427, allocations: 84.98 kB / 0.524 GB, free: 15.59 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.423e-05/0.1427, allocations: 19.44 kB / 0.524 GB, free: 15.57 MB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1427, allocations: 0 / 0.524 GB, free: 15.57 MB / 414.1 MB Notification: Performance of Templates: time 0.004103/0.1468, allocations: 1.73 MB / 0.5257 GB, free: 13.84 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.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: 8.187411499675363]