Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32.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.001334/0.001334, allocations: 123.4 kB / 17.79 MB, free: 5.227 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.001517/0.001517, allocations: 208.3 kB / 20.75 MB, free: 2.273 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.515/1.515, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.2612/0.2612, allocations: 46.92 MB / 357.1 MB, free: 10.39 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.CombiTable2Dv.Test32,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test32,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test32",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 63.91 kB / 0.491 GB, free: 7.984 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1262, allocations: 65.98 MB / 0.5554 GB, free: 5.875 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test32): time 0.003154/0.1293, allocations: 1.674 MB / 0.557 GB, free: 4.191 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00185/0.1312, allocations: 1.21 MB / 0.5582 GB, free: 2.973 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.527e-05/0.1312, allocations: 7.938 kB / 0.5582 GB, free: 2.965 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002104/0.1314, allocations: 31.78 kB / 0.5582 GB, free: 2.934 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003338/0.1318, allocations: 79.62 kB / 0.5583 GB, free: 2.855 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004968/0.1323, allocations: 178.8 kB / 0.5585 GB, free: 2.684 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001749/0.1325, allocations: 75.83 kB / 0.5586 GB, free: 2.609 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.1326, allocations: 8 kB / 0.5586 GB, free: 2.602 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.354e-05/0.1326, allocations: 39.84 kB / 0.5586 GB, free: 2.562 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001453/0.1328, allocations: 39.78 kB / 0.5586 GB, free: 2.523 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.559e-05/0.1328, allocations: 4 kB / 0.5587 GB, free: 2.52 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002049/0.133, allocations: 103.9 kB / 0.5588 GB, free: 2.418 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.313e-05/0.133, allocations: 27.91 kB / 0.5588 GB, free: 2.391 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.492e-05/0.1331, allocations: 31.73 kB / 0.5588 GB, free: 2.359 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002647/0.1333, allocations: 147.5 kB / 0.5589 GB, free: 2.215 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1333, allocations: 0 / 0.5589 GB, free: 2.215 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1333, allocations: 0 / 0.5589 GB, free: 2.215 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.885e-06/0.1334, allocations: 4 kB / 0.559 GB, free: 2.211 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.0006207/0.134, allocations: 430.6 kB / 0.5594 GB, free: 1.742 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.134, allocations: 8.031 kB / 0.5594 GB, free: 1.734 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.864e-05/0.1341, allocations: 34.75 kB / 0.5594 GB, free: 1.691 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.35e-05/0.1341, allocations: 8.891 kB / 0.5594 GB, free: 1.684 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000251/0.1344, allocations: 208.1 kB / 0.5596 GB, free: 1.441 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.1344, allocations: 4.375 kB / 0.5596 GB, free: 1.438 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.167e-05/0.1344, allocations: 384 / 0.5596 GB, free: 1.438 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002122/0.1346, allocations: 79.33 kB / 0.5597 GB, free: 1.348 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.1346, allocations: 0 / 0.5597 GB, free: 1.348 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.1346, allocations: 4 kB / 0.5597 GB, free: 1.344 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.261e-06/0.1346, allocations: 4 kB / 0.5597 GB, free: 1.34 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001572/0.1348, allocations: 39.94 kB / 0.5597 GB, free: 1.301 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005069/0.1353, allocations: 316.7 kB / 0.56 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001438/0.1354, allocations: 50.55 kB / 0.5601 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.136e-05/0.1355, allocations: 28.92 kB / 0.5601 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.829e-05/0.1355, allocations: 0 / 0.5601 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/0.1356, allocations: 34.56 kB / 0.5601 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 8.81e-07/0.1356, allocations: 0 / 0.5601 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009031/0.1365, allocations: 229.3 kB / 0.5604 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.982e-05/0.1365, allocations: 81.05 kB / 0.5604 GB, free: 492 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001928/0.1367, allocations: 168.5 kB / 0.5606 GB, free: 316 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.719e-05/0.1368, allocations: 33.7 kB / 0.5606 GB, free: 276 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.322e-05/0.1368, allocations: 104.1 kB / 0.5607 GB, free: 168 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.204e-05/0.1369, allocations: 23.86 kB / 0.5608 GB, free: 144 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.139e-05/0.1369, allocations: 25.7 kB / 0.5608 GB, free: 112 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.1371, allocations: 318.8 kB / 0.5611 GB, free: 15.79 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001333/0.1372, allocations: 35.95 kB / 0.5611 GB, free: 15.75 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001411/0.1374, allocations: 53.69 kB / 0.5612 GB, free: 15.7 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002571/0.1376, allocations: 93.05 kB / 0.5613 GB, free: 15.6 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.1376, allocations: 0 / 0.5613 GB, free: 15.6 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003255/0.1379, allocations: 125.5 kB / 0.5614 GB, free: 15.47 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.138, allocations: 8 kB / 0.5614 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.138, allocations: 0 / 0.5614 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.138, allocations: 4 kB / 0.5614 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001315/0.1381, allocations: 23.97 kB / 0.5614 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.1381, allocations: 0 / 0.5614 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.433e-05/0.1382, allocations: 7.938 kB / 0.5614 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/0.1382, allocations: 7.984 kB / 0.5614 GB, free: 15.42 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 (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.0001043/0.1383, allocations: 116 kB / 0.5615 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.564e-05/0.1384, allocations: 15.91 kB / 0.5616 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003957/0.1387, allocations: 146.2 kB / 0.5617 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.1388, allocations: 0 / 0.5617 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.1388, allocations: 0 / 0.5617 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.1388, allocations: 3.938 kB / 0.5617 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006427/0.1394, allocations: 414.5 kB / 0.5621 GB, free: 14.67 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.1394, allocations: 0 / 0.5621 GB, free: 14.67 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001075/0.1395, allocations: 27.92 kB / 0.5621 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.1395, allocations: 0 / 0.5621 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.1395, allocations: 7.938 kB / 0.5621 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1395, allocations: 0 / 0.5621 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.1395, allocations: 3.984 kB / 0.5621 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000384/0.1399, allocations: 223.4 kB / 0.5623 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.891e-05/0.14, allocations: 93 kB / 0.5624 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.265e-05/0.14, allocations: 3.938 kB / 0.5624 GB, free: 14.28 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/0.1401, allocations: 11.98 kB / 0.5624 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.82e-05/0.1401, allocations: 7.984 kB / 0.5625 GB, free: 14.26 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.316e-06/0.1402, allocations: 4 kB / 0.5625 GB, free: 14.26 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000117/0.1403, allocations: 116.8 kB / 0.5626 GB, free: 14.14 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1403, allocations: 4 kB / 0.5626 GB, free: 14.14 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003065/0.1406, allocations: 39.88 kB / 0.5626 GB, free: 14.1 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 (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.002392/0.143, allocations: 1.16 MB / 0.5637 GB, free: 13.11 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003542/0.1433, allocations: 91.92 kB / 0.5638 GB, free: 13.02 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1433, allocations: 0 / 0.5638 GB, free: 13.02 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001468/0.1435, allocations: 47.91 kB / 0.5639 GB, free: 12.97 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00036/0.1438, allocations: 15.98 kB / 0.5639 GB, free: 12.96 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002321/0.1462, allocations: 1.655 MB / 0.5655 GB, free: 11.22 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003374/0.1465, allocations: 0.7039 MB / 0.5662 GB, free: 10.49 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.646e-05/0.1466, allocations: 32.7 kB / 0.5662 GB, free: 10.46 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.085e-05/0.1467, allocations: 31.42 kB / 0.5663 GB, free: 10.43 MB / 430.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1467, allocations: 0 / 0.5663 GB, free: 10.43 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02781/0.1745, allocations: 3.62 MB / 0.5698 GB, free: 6.812 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.166/8.34, allocations: 11.86 kB / 0.5698 GB, free: 6.801 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test32_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test32.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32.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.449822216993198]