Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5.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.001849/0.001849, allocations: 123 kB / 17.79 MB, free: 5.246 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.002251/0.002251, allocations: 207.2 kB / 20.75 MB, free: 2.297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.507/1.507, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2375/0.2375, allocations: 46.92 MB / 357.1 MB, free: 10.3 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test5,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test5,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002286/0.002286, allocations: 71.89 kB / 0.491 GB, free: 7.902 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1342, allocations: 65.98 MB / 0.5554 GB, free: 5.793 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test5): time 0.003231/0.1374, allocations: 1.665 MB / 0.557 GB, free: 4.117 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001091/0.1385, allocations: 0.5533 MB / 0.5576 GB, free: 3.559 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.684e-05/0.1385, allocations: 0 / 0.5576 GB, free: 3.559 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005843/0.1391, allocations: 455.1 kB / 0.558 GB, free: 3.113 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005087/0.1396, allocations: 295.3 kB / 0.5583 GB, free: 2.824 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003685/0.14, allocations: 127.3 kB / 0.5584 GB, free: 2.703 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002885/0.1403, allocations: 175.6 kB / 0.5586 GB, free: 2.531 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.323e-05/0.1404, allocations: 8 kB / 0.5586 GB, free: 2.523 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001666/0.1406, allocations: 115.7 kB / 0.5587 GB, free: 2.41 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003079/0.1409, allocations: 251.5 kB / 0.5589 GB, free: 2.164 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.892e-05/0.1409, allocations: 4 kB / 0.5589 GB, free: 2.16 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.641e-05/0.141, allocations: 35.97 kB / 0.559 GB, free: 2.125 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001142/0.1411, allocations: 83.69 kB / 0.559 GB, free: 2.043 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.739e-05/0.1412, allocations: 107 kB / 0.5591 GB, free: 1.938 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003713/0.1416, allocations: 266.6 kB / 0.5594 GB, free: 1.676 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.1416, allocations: 0 / 0.5594 GB, free: 1.676 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1416, allocations: 0 / 0.5594 GB, free: 1.676 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.945e-06/0.1416, allocations: 0 / 0.5594 GB, free: 1.676 MB / 414.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.0008585/0.1424, allocations: 0.6607 MB / 0.56 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.1425, allocations: 8.031 kB / 0.5601 GB, free: 0.957 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.725e-05/0.1425, allocations: 30.75 kB / 0.5601 GB, free: 0.918 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.299e-05/0.1426, allocations: 48.61 kB / 0.5601 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003278/0.1429, allocations: 312.6 kB / 0.5604 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.492e-06/0.1429, allocations: 384 / 0.5604 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.217e-05/0.1429, allocations: 4.375 kB / 0.5604 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001501/0.1431, allocations: 57.61 kB / 0.5605 GB, free: 468 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.1431, allocations: 0 / 0.5605 GB, free: 468 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.404e-06/0.1431, allocations: 3.938 kB / 0.5605 GB, free: 464 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.606e-06/0.1431, allocations: 0 / 0.5605 GB, free: 464 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001023/0.1432, allocations: 23.98 kB / 0.5605 GB, free: 440 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005235/0.1437, allocations: 400.6 kB / 0.5609 GB, free: 15.99 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002245/0.144, allocations: 46.5 kB / 0.5609 GB, free: 15.93 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.433e-05/0.144, allocations: 12.94 kB / 0.561 GB, free: 15.92 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/0.144, allocations: 0 / 0.561 GB, free: 15.92 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.667e-05/0.1441, allocations: 38.56 kB / 0.561 GB, free: 15.87 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 9.61e-07/0.1441, allocations: 4 kB / 0.561 GB, free: 15.87 MB / 430.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006916/0.1448, allocations: 228.7 kB / 0.5612 GB, free: 15.64 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.936e-05/0.1448, allocations: 51.41 kB / 0.5613 GB, free: 15.57 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001014/0.1458, allocations: 0.8854 MB / 0.5621 GB, free: 14.68 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.176e-05/0.1458, allocations: 25.7 kB / 0.5621 GB, free: 14.64 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002247/0.1461, allocations: 220.1 kB / 0.5624 GB, free: 14.43 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.165e-05/0.1461, allocations: 19.84 kB / 0.5624 GB, free: 14.41 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.885e-05/0.1461, allocations: 21.7 kB / 0.5624 GB, free: 14.38 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002392/0.1464, allocations: 358.8 kB / 0.5627 GB, free: 14.02 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.214e-05/0.1465, allocations: 19.98 kB / 0.5628 GB, free: 14 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.577e-05/0.1465, allocations: 19.92 kB / 0.5628 GB, free: 13.98 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001522/0.1467, allocations: 53.02 kB / 0.5628 GB, free: 13.93 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.1467, allocations: 4 kB / 0.5628 GB, free: 13.92 MB / 430.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002575/0.1469, allocations: 117.3 kB / 0.5629 GB, free: 13.8 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/0.147, allocations: 11.98 kB / 0.563 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.147, allocations: 0 / 0.563 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.147, allocations: 0 / 0.563 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.44e-05/0.1471, allocations: 12 kB / 0.563 GB, free: 13.78 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.1471, allocations: 0 / 0.563 GB, free: 13.78 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.781e-05/0.1471, allocations: 11.92 kB / 0.563 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.1471, allocations: 4 kB / 0.563 GB, free: 13.76 MB / 430.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.0002244/0.1474, allocations: 216 kB / 0.5632 GB, free: 13.54 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.636e-05/0.1474, allocations: 43.7 kB / 0.5632 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003413/0.1478, allocations: 133.1 kB / 0.5634 GB, free: 13.36 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.1478, allocations: 0 / 0.5634 GB, free: 13.36 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.1478, allocations: 0 / 0.5634 GB, free: 13.36 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.1478, allocations: 3.938 kB / 0.5634 GB, free: 13.36 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006303/0.1484, allocations: 466.5 kB / 0.5638 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.1484, allocations: 288 / 0.5638 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.377e-05/0.1485, allocations: 15.92 kB / 0.5638 GB, free: 12.83 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.1485, allocations: 0 / 0.5638 GB, free: 12.83 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.1485, allocations: 7.938 kB / 0.5638 GB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.332e-06/0.1485, allocations: 4.172 kB / 0.5638 GB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.1485, allocations: 0 / 0.5638 GB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003137/0.1488, allocations: 231.2 kB / 0.5641 GB, free: 12.57 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.834e-05/0.1489, allocations: 108.8 kB / 0.5642 GB, free: 12.45 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.132e-05/0.1489, allocations: 11.94 kB / 0.5642 GB, free: 12.44 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.976e-05/0.149, allocations: 3.984 kB / 0.5642 GB, free: 12.43 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.406e-05/0.1491, allocations: 7.938 kB / 0.5642 GB, free: 12.43 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.668e-06/0.1491, allocations: 0 / 0.5642 GB, free: 12.43 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007364/0.1498, allocations: 0.6589 MB / 0.5648 GB, free: 11.77 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1498, allocations: 4 kB / 0.5648 GB, free: 11.77 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000267/0.1501, allocations: 24 kB / 0.5649 GB, free: 11.74 MB / 430.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.00209/0.1522, allocations: 1.058 MB / 0.5659 GB, free: 10.82 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002354/0.1524, allocations: 43.97 kB / 0.5659 GB, free: 10.77 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.1524, allocations: 7.938 kB / 0.5659 GB, free: 10.77 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.281e-05/0.1525, allocations: 19.98 kB / 0.566 GB, free: 10.75 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004312/0.1529, allocations: 26.3 kB / 0.566 GB, free: 10.72 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004138/0.1571, allocations: 3.248 MB / 0.5691 GB, free: 7.383 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005519/0.1576, allocations: 0.8221 MB / 0.57 GB, free: 6.531 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.583e-05/0.1577, allocations: 8 kB / 0.57 GB, free: 6.523 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001418/0.1578, allocations: 107.4 kB / 0.5701 GB, free: 6.422 MB / 430.1 MB Notification: Performance of SimCode: time 1.062e-06/0.1578, allocations: 3.938 kB / 0.5701 GB, free: 6.418 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03098/0.1888, allocations: 6.085 MB / 0.576 GB, free: 388 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.707/8.896, allocations: 4.062 kB / 0.576 GB, free: 384 kB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test5_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test5.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5.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: 12.038090462097898]