Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.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.001327/0.001327, allocations: 112.4 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.001396/0.001396, allocations: 193.2 kB / 21.44 MB, free: 1.609 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.598/1.598, allocations: 225.6 MB / 249.8 MB, free: 3.488 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.2465/0.2465, allocations: 44.92 MB / 349.6 MB, free: 1.715 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.CombiTable1Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002016/0.002016, allocations: 71.23 kB / 492.3 MB, free: 29.79 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1352, allocations: 64.26 MB / 0.5435 GB, free: 3.609 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.003196/0.1384, allocations: 1.564 MB / 0.545 GB, free: 2.027 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001739/0.1401, allocations: 1.035 MB / 0.546 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.971e-05/0.1402, allocations: 0 / 0.546 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002527/0.1405, allocations: 23.84 kB / 0.5461 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002226/0.1407, allocations: 39.84 kB / 0.5461 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002672/0.1409, allocations: 94.94 kB / 0.5462 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001528/0.1411, allocations: 47.91 kB / 0.5462 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.1412, allocations: 19.92 kB / 0.5463 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.265e-05/0.1413, allocations: 23.81 kB / 0.5463 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001948/0.1415, allocations: 31.89 kB / 0.5463 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.993e-05/0.1415, allocations: 4 kB / 0.5463 GB, free: 0.707 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000117/0.1416, allocations: 43.98 kB / 0.5464 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.053e-05/0.1417, allocations: 19.91 kB / 0.5464 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.48e-05/0.1417, allocations: 19.88 kB / 0.5464 GB, free: 0.625 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002174/0.1419, allocations: 83.72 kB / 0.5465 GB, free: 0.543 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.1419, allocations: 0 / 0.5465 GB, free: 0.543 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1419, allocations: 0 / 0.5465 GB, free: 0.543 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.1419, allocations: 0 / 0.5465 GB, free: 0.543 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.000573/0.1425, allocations: 386.9 kB / 0.5468 GB, free: 120 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.1425, allocations: 16.03 kB / 0.5469 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.445e-05/0.1426, allocations: 8.891 kB / 0.5469 GB, free: 96 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002557/0.1428, allocations: 180.3 kB / 0.547 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.708e-06/0.1428, allocations: 4.375 kB / 0.547 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.402e-05/0.1429, allocations: 384 / 0.547 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001708/0.143, allocations: 67.52 kB / 0.5471 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.1431, allocations: 3.953 kB / 0.5471 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.1431, allocations: 3.938 kB / 0.5471 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.1431, allocations: 8 kB / 0.5471 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.805e-05/0.1432, allocations: 19.98 kB / 0.5471 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003725/0.1435, allocations: 268.9 kB / 0.5474 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001929/0.1437, allocations: 38.56 kB / 0.5474 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.27e-05/0.1438, allocations: 20.88 kB / 0.5475 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.361e-05/0.1438, allocations: 8 kB / 0.5475 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/0.1438, allocations: 30.56 kB / 0.5475 GB, free: 15.33 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.1438, allocations: 0 / 0.5475 GB, free: 15.33 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005221/0.1444, allocations: 141.3 kB / 0.5476 GB, free: 15.19 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.642e-05/0.1444, allocations: 81.11 kB / 0.5477 GB, free: 15.09 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001416/0.1446, allocations: 137.8 kB / 0.5478 GB, free: 14.95 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.1446, allocations: 25.7 kB / 0.5479 GB, free: 14.91 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.528e-05/0.1446, allocations: 92.14 kB / 0.5479 GB, free: 14.82 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.105e-05/0.1447, allocations: 15.89 kB / 0.548 GB, free: 14.8 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.713e-05/0.1447, allocations: 17.72 kB / 0.548 GB, free: 14.78 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.1449, allocations: 322.8 kB / 0.5483 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.492e-05/0.1449, allocations: 15.98 kB / 0.5483 GB, free: 14.44 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.599e-05/0.145, allocations: 37.7 kB / 0.5483 GB, free: 14.4 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001406/0.1451, allocations: 44.83 kB / 0.5484 GB, free: 14.35 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.1451, allocations: 0 / 0.5484 GB, free: 14.35 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001763/0.1453, allocations: 81.5 kB / 0.5485 GB, free: 14.27 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.1453, allocations: 8 kB / 0.5485 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.1453, allocations: 0 / 0.5485 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.1453, allocations: 0 / 0.5485 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.98e-05/0.1454, allocations: 20.02 kB / 0.5485 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.1454, allocations: 4 kB / 0.5485 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.011e-05/0.1455, allocations: 3.938 kB / 0.5485 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/0.1455, allocations: 4 kB / 0.5485 GB, free: 14.23 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 (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.000115/0.1456, allocations: 117.8 kB / 0.5486 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.538e-05/0.1456, allocations: 7.953 kB / 0.5486 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002529/0.1459, allocations: 93.55 kB / 0.5487 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.1459, allocations: 0 / 0.5487 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.1459, allocations: 0 / 0.5487 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.614e-06/0.1459, allocations: 4 kB / 0.5487 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004781/0.1463, allocations: 342.8 kB / 0.549 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.1464, allocations: 4.344 kB / 0.549 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.641e-05/0.1464, allocations: 19.92 kB / 0.5491 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.1464, allocations: 0 / 0.5491 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.1464, allocations: 0 / 0.5491 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.1464, allocations: 7.938 kB / 0.5491 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1464, allocations: 0 / 0.5491 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002454/0.1467, allocations: 179.5 kB / 0.5492 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.485e-05/0.1467, allocations: 81.06 kB / 0.5493 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.629e-05/0.1467, allocations: 4 kB / 0.5493 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.361e-05/0.1468, allocations: 11.94 kB / 0.5493 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.66e-05/0.1468, allocations: 7.984 kB / 0.5493 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-06/0.1469, allocations: 0 / 0.5493 GB, free: 13.25 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.755e-05/0.1469, allocations: 106.9 kB / 0.5494 GB, free: 13.15 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1469, allocations: 0 / 0.5494 GB, free: 13.15 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002589/0.1472, allocations: 27.92 kB / 0.5495 GB, free: 13.12 MB / 414.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.00159/0.1488, allocations: 449.3 kB / 0.5499 GB, free: 12.85 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002034/0.149, allocations: 43.97 kB / 0.5499 GB, free: 12.81 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.149, allocations: 0 / 0.5499 GB, free: 12.81 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.156e-05/0.1491, allocations: 23.98 kB / 0.55 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003595/0.1494, allocations: 17.48 kB / 0.55 GB, free: 12.77 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004073/0.1498, allocations: 165.3 kB / 0.5501 GB, free: 12.58 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003459/0.1502, allocations: 0.6883 MB / 0.5508 GB, free: 11.87 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.417e-05/0.1502, allocations: 11.97 kB / 0.5508 GB, free: 11.86 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.698e-05/0.1503, allocations: 15.44 kB / 0.5508 GB, free: 11.84 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1503, allocations: 0 / 0.5508 GB, free: 11.84 MB / 414.1 MB Notification: Performance of Templates: time 0.00449/0.1548, allocations: 1.363 MB / 0.5522 GB, free: 10.48 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.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.127199822105467]