Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 118.2 kB / 18.5 MB, free: 4.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001411/0.001411, allocations: 190.9 kB / 21.44 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.515/1.515, allocations: 225.6 MB / 249.8 MB, free: 3.738 MB / 190.1 MB " [Timeout remaining time 178] 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.213/0.213, allocations: 44.91 MB / 349.6 MB, free: 1.746 MB / 270.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002066/0.002066, allocations: 68.11 kB / 492.3 MB, free: 29.87 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1373, allocations: 64.27 MB / 0.5435 GB, free: 3.578 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test25): time 0.003263/0.1406, allocations: 1.64 MB / 0.5451 GB, free: 1.922 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009807/0.1416, allocations: 459 kB / 0.5456 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.827e-05/0.1416, allocations: 0 / 0.5456 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003003/0.1419, allocations: 63.73 kB / 0.5456 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002107/0.1421, allocations: 39.83 kB / 0.5457 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004353/0.1426, allocations: 172.3 kB / 0.5458 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001637/0.1427, allocations: 79.77 kB / 0.5459 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.1429, allocations: 27.92 kB / 0.5459 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.933e-05/0.1429, allocations: 31.84 kB / 0.546 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000105/0.143, allocations: 51.81 kB / 0.546 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.633e-05/0.143, allocations: 4 kB / 0.546 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001103/0.1432, allocations: 43.98 kB / 0.546 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.325e-05/0.1432, allocations: 19.92 kB / 0.5461 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.449e-05/0.1433, allocations: 35.73 kB / 0.5461 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000205/0.1435, allocations: 99.58 kB / 0.5462 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1435, allocations: 0 / 0.5462 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1435, allocations: 0 / 0.5462 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.57e-06/0.1435, allocations: 4 kB / 0.5462 GB, free: 0.8086 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.00058/0.1441, allocations: 414.8 kB / 0.5466 GB, free: 364 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.1441, allocations: 8.031 kB / 0.5466 GB, free: 356 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.422e-05/0.1441, allocations: 8.891 kB / 0.5466 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002187/0.1444, allocations: 202 kB / 0.5468 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.1444, allocations: 4.375 kB / 0.5468 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.811e-05/0.1444, allocations: 8.375 kB / 0.5468 GB, free: 96 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002108/0.1446, allocations: 69.78 kB / 0.5469 GB, free: 20 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/0.1446, allocations: 4 kB / 0.5469 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.1446, allocations: 4 kB / 0.5469 GB, free: 12 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.1446, allocations: 0 / 0.5469 GB, free: 12 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001738/0.1448, allocations: 43.91 kB / 0.5469 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005313/0.1453, allocations: 312.8 kB / 0.5472 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002927/0.1456, allocations: 66.58 kB / 0.5473 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.801e-05/0.1457, allocations: 28.91 kB / 0.5473 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.486e-05/0.1457, allocations: 0 / 0.5473 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/0.1458, allocations: 34.56 kB / 0.5474 GB, free: 15.46 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 8.21e-07/0.1458, allocations: 0 / 0.5474 GB, free: 15.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.001508/0.1473, allocations: 417 kB / 0.5478 GB, free: 15.05 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.286e-05/0.1473, allocations: 59.34 kB / 0.5478 GB, free: 14.98 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001849/0.1475, allocations: 169 kB / 0.548 GB, free: 14.81 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/0.1475, allocations: 29.64 kB / 0.548 GB, free: 14.77 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.1476, allocations: 100.1 kB / 0.5481 GB, free: 14.67 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.773e-05/0.1477, allocations: 43.61 kB / 0.5481 GB, free: 14.63 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.512e-05/0.1477, allocations: 29.72 kB / 0.5482 GB, free: 14.59 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001824/0.1479, allocations: 322.8 kB / 0.5485 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001463/0.1481, allocations: 51.95 kB / 0.5485 GB, free: 14.22 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001439/0.1482, allocations: 59.89 kB / 0.5486 GB, free: 14.16 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002917/0.1485, allocations: 124.8 kB / 0.5487 GB, free: 14.04 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1485, allocations: 0 / 0.5487 GB, free: 14.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003652/0.1489, allocations: 165.5 kB / 0.5489 GB, free: 13.87 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.1489, allocations: 6.031 kB / 0.5489 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.1489, allocations: 3.938 kB / 0.5489 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.1489, allocations: 0 / 0.5489 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.149, allocations: 27.92 kB / 0.5489 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.149, allocations: 12.55 kB / 0.5489 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.903e-05/0.1491, allocations: 8 kB / 0.5489 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.1491, allocations: 4 kB / 0.5489 GB, free: 13.81 MB / 414.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 (11): * Single equations (assignments): 11 * 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.0001235/0.1492, allocations: 125.8 kB / 0.549 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.706e-05/0.1493, allocations: 7.953 kB / 0.549 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004476/0.1497, allocations: 190.2 kB / 0.5492 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-06/0.1497, allocations: 11.86 kB / 0.5492 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.1497, allocations: 0 / 0.5492 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.1497, allocations: 4 kB / 0.5492 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000746/0.1505, allocations: 492 kB / 0.5497 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1505, allocations: 4.062 kB / 0.5497 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001042/0.1506, allocations: 31.91 kB / 0.5497 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.1506, allocations: 4 kB / 0.5497 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.248e-06/0.1506, allocations: 0 / 0.5497 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/0.1506, allocations: 4 kB / 0.5497 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1506, allocations: 96 / 0.5497 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004387/0.151, allocations: 273 kB / 0.55 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.928e-05/0.1511, allocations: 89.02 kB / 0.5501 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.363e-05/0.1511, allocations: 8 kB / 0.5501 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001538/0.1513, allocations: 7.984 kB / 0.5501 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.336e-05/0.1514, allocations: 19.91 kB / 0.5501 GB, free: 12.44 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.058e-05/0.1514, allocations: 8 kB / 0.5501 GB, free: 12.43 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001279/0.1515, allocations: 131.2 kB / 0.5503 GB, free: 12.3 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1515, allocations: 0 / 0.5503 GB, free: 12.3 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002804/0.1518, allocations: 27.94 kB / 0.5503 GB, free: 12.28 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001773/0.1536, allocations: 452 kB / 0.5507 GB, free: 12.02 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003858/0.1539, allocations: 127.8 kB / 0.5508 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.154, allocations: 3.938 kB / 0.5508 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001639/0.1541, allocations: 63.89 kB / 0.5509 GB, free: 11.82 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004043/0.1545, allocations: 24.33 kB / 0.5509 GB, free: 11.8 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005838/0.1551, allocations: 283.8 kB / 0.5512 GB, free: 11.48 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003894/0.1555, allocations: 0.7233 MB / 0.5519 GB, free: 10.73 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001039/0.1556, allocations: 32.52 kB / 0.5519 GB, free: 10.7 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.207e-05/0.1556, allocations: 15.44 kB / 0.552 GB, free: 10.69 MB / 414.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1556, allocations: 192 / 0.552 GB, free: 10.69 MB / 414.1 MB Notification: Performance of Templates: time 0.004787/0.1604, allocations: 1.628 MB / 0.5535 GB, free: 9.07 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test25/Test25.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.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: 5.1023571928963065]