Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.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.001242/0.001242, allocations: 119 kB / 18.5 MB, free: 4.582 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.001217/0.001217, allocations: 190.9 kB / 21.44 MB, free: 1.645 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.474/1.474, allocations: 225.6 MB / 249.8 MB, free: 3.617 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.2255/0.2255, allocations: 44.9 MB / 349.6 MB, free: 1.75 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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test28",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001881/0.001881, allocations: 69.11 kB / 491.8 MB, free: 29.89 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1439, allocations: 64.26 MB / 0.543 GB, free: 4.102 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test28): time 0.003294/0.1472, allocations: 1.587 MB / 0.5446 GB, free: 2.496 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008729/0.1481, allocations: 423.1 kB / 0.545 GB, free: 2.078 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.954e-05/0.1482, allocations: 4 kB / 0.545 GB, free: 2.074 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003354/0.1485, allocations: 99.72 kB / 0.5451 GB, free: 1.977 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002382/0.1487, allocations: 79.78 kB / 0.5452 GB, free: 1.898 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003345/0.1491, allocations: 107.7 kB / 0.5453 GB, free: 1.793 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001834/0.1493, allocations: 83.8 kB / 0.5453 GB, free: 1.711 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.1494, allocations: 24.05 kB / 0.5454 GB, free: 1.688 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.86e-05/0.1494, allocations: 39.89 kB / 0.5454 GB, free: 1.648 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001361/0.1496, allocations: 71.73 kB / 0.5455 GB, free: 1.578 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.044e-05/0.1496, allocations: 4 kB / 0.5455 GB, free: 1.574 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001033/0.1497, allocations: 43.98 kB / 0.5455 GB, free: 1.531 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.698e-05/0.1498, allocations: 27.92 kB / 0.5455 GB, free: 1.504 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.603e-05/0.1498, allocations: 35.73 kB / 0.5456 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002168/0.15, allocations: 107.5 kB / 0.5457 GB, free: 1.363 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.15, allocations: 0 / 0.5457 GB, free: 1.363 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.15, allocations: 0 / 0.5457 GB, free: 1.363 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.611e-06/0.15, allocations: 0 / 0.5457 GB, free: 1.363 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.0006074/0.1506, allocations: 426.6 kB / 0.5461 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.1507, allocations: 11.97 kB / 0.5461 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.267e-05/0.1507, allocations: 34.75 kB / 0.5461 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.506e-05/0.1508, allocations: 12.89 kB / 0.5461 GB, free: 0.832 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002374/0.151, allocations: 208.1 kB / 0.5463 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.412e-06/0.151, allocations: 4.375 kB / 0.5463 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.762e-05/0.151, allocations: 8.125 kB / 0.5464 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001513/0.1512, allocations: 53.67 kB / 0.5464 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.1512, allocations: 0 / 0.5464 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.1512, allocations: 0 / 0.5464 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.1512, allocations: 7.938 kB / 0.5464 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.354e-05/0.1513, allocations: 23.98 kB / 0.5464 GB, free: 500 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000462/0.1518, allocations: 312.8 kB / 0.5467 GB, free: 136 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00011/0.1519, allocations: 42.5 kB / 0.5468 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.352e-05/0.1519, allocations: 20.94 kB / 0.5468 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.233e-05/0.152, allocations: 3.984 kB / 0.5468 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/0.152, allocations: 34.56 kB / 0.5468 GB, free: 12 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.152, allocations: 0 / 0.5468 GB, free: 12 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009431/0.1529, allocations: 241.2 kB / 0.5471 GB, free: 15.77 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.442e-05/0.153, allocations: 55.34 kB / 0.5471 GB, free: 15.7 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002614/0.1532, allocations: 242.7 kB / 0.5473 GB, free: 15.45 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.314e-05/0.1533, allocations: 25.7 kB / 0.5474 GB, free: 15.42 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.953e-05/0.1533, allocations: 116.1 kB / 0.5475 GB, free: 15.3 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.755e-05/0.1534, allocations: 31.73 kB / 0.5475 GB, free: 15.27 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.219e-05/0.1534, allocations: 17.72 kB / 0.5475 GB, free: 15.25 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.1536, allocations: 326.8 kB / 0.5478 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.483e-05/0.1537, allocations: 31.97 kB / 0.5479 GB, free: 14.89 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.165e-05/0.1537, allocations: 28.06 kB / 0.5479 GB, free: 14.86 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002012/0.1539, allocations: 84.73 kB / 0.548 GB, free: 14.77 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1539, allocations: 0 / 0.548 GB, free: 14.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002197/0.1542, allocations: 109.6 kB / 0.5481 GB, free: 14.66 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.1542, allocations: 7.938 kB / 0.5481 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.1542, allocations: 3.938 kB / 0.5481 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.29e-05/0.1542, allocations: 0 / 0.5481 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.1543, allocations: 19.98 kB / 0.5481 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.1543, allocations: 3.938 kB / 0.5481 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.137e-05/0.1544, allocations: 8 kB / 0.5481 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.768e-06/0.1544, allocations: 3.984 kB / 0.5481 GB, free: 14.61 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 (8): * Single equations (assignments): 8 * 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.0001295/0.1545, allocations: 138.8 kB / 0.5483 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.481e-05/0.1545, allocations: 11.91 kB / 0.5483 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003077/0.1548, allocations: 127.3 kB / 0.5484 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.1549, allocations: 4 kB / 0.5484 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.1549, allocations: 3.938 kB / 0.5484 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.1549, allocations: 4 kB / 0.5484 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005793/0.1554, allocations: 423.2 kB / 0.5488 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.1554, allocations: 3.938 kB / 0.5488 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.19e-05/0.1555, allocations: 23.92 kB / 0.5488 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.1555, allocations: 0 / 0.5488 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.1555, allocations: 0 / 0.5488 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1555, allocations: 4 kB / 0.5488 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1555, allocations: 4.031 kB / 0.5488 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000292/0.1558, allocations: 212.3 kB / 0.549 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.922e-05/0.1559, allocations: 92.95 kB / 0.5491 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.626e-05/0.1559, allocations: 8 kB / 0.5491 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.985e-05/0.156, allocations: 4 kB / 0.5491 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.979e-05/0.156, allocations: 15.92 kB / 0.5492 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.104e-06/0.156, allocations: 4 kB / 0.5492 GB, free: 13.43 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001867/0.1562, allocations: 187.2 kB / 0.5493 GB, free: 13.25 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1562, allocations: 0 / 0.5493 GB, free: 13.25 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002563/0.1565, allocations: 23.94 kB / 0.5494 GB, free: 13.23 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.002255/0.1587, allocations: 1.097 MB / 0.5504 GB, free: 12.3 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003234/0.1591, allocations: 79.89 kB / 0.5505 GB, free: 12.22 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1591, allocations: 0 / 0.5505 GB, free: 12.22 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.734e-05/0.1592, allocations: 39.92 kB / 0.5505 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004225/0.1596, allocations: 14.8 kB / 0.5506 GB, free: 12.17 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002297/0.1619, allocations: 1.786 MB / 0.5523 GB, free: 10.3 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003956/0.1623, allocations: 0.7119 MB / 0.553 GB, free: 9.566 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.018e-05/0.1624, allocations: 12.66 kB / 0.553 GB, free: 9.551 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.668e-05/0.1625, allocations: 39.42 kB / 0.5531 GB, free: 9.512 MB / 414.1 MB Notification: Performance of SimCode: time 1.072e-06/0.1625, allocations: 0 / 0.5531 GB, free: 9.512 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02676/0.1892, allocations: 3.279 MB / 0.5563 GB, free: 6.262 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.802/7.991, allocations: 16 kB / 0.5563 GB, free: 6.246 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test28_fmu --startTime=7.99 --stopTime=20 --stepSize=0.00240104 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test28.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.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: 11.101247732993215]