Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.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.001327/0.001327, allocations: 124.5 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.001987/0.001987, allocations: 207.2 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.507/1.507, allocations: 230.6 MB / 254.1 MB, free: 15.07 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.2463/0.2463, allocations: 46.93 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.CombiTable1Ds.Test5,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test5,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 71.83 kB / 0.491 GB, free: 7.914 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1362, allocations: 65.98 MB / 0.5554 GB, free: 5.809 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.00363/0.1399, allocations: 1.636 MB / 0.557 GB, free: 4.16 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001372/0.1412, allocations: 0.5377 MB / 0.5575 GB, free: 3.617 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.61e-05/0.1413, allocations: 0 / 0.5575 GB, free: 3.617 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004114/0.1417, allocations: 103.7 kB / 0.5576 GB, free: 3.516 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000422/0.1422, allocations: 107.6 kB / 0.5577 GB, free: 3.41 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003844/0.1425, allocations: 99.56 kB / 0.5578 GB, free: 3.316 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002262/0.1428, allocations: 79.77 kB / 0.5579 GB, free: 3.238 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001361/0.1429, allocations: 19.98 kB / 0.5579 GB, free: 3.219 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.292e-05/0.143, allocations: 39.83 kB / 0.5579 GB, free: 3.18 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001247/0.1431, allocations: 59.8 kB / 0.558 GB, free: 3.121 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.643e-05/0.1431, allocations: 4 kB / 0.558 GB, free: 3.117 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001237/0.1432, allocations: 43.98 kB / 0.5581 GB, free: 3.074 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.843e-05/0.1433, allocations: 19.88 kB / 0.5581 GB, free: 3.055 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.925e-05/0.1434, allocations: 43.72 kB / 0.5581 GB, free: 3.012 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002345/0.1436, allocations: 115.4 kB / 0.5582 GB, free: 2.898 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.1436, allocations: 0 / 0.5582 GB, free: 2.898 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1436, allocations: 0 / 0.5582 GB, free: 2.898 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.431e-06/0.1436, allocations: 0 / 0.5582 GB, free: 2.898 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.0005358/0.1441, allocations: 422.7 kB / 0.5586 GB, free: 2.438 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.1442, allocations: 8.031 kB / 0.5586 GB, free: 2.43 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.114e-05/0.1442, allocations: 38.67 kB / 0.5587 GB, free: 2.383 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.176e-05/0.1443, allocations: 16.84 kB / 0.5587 GB, free: 2.367 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002102/0.1445, allocations: 200.1 kB / 0.5589 GB, free: 2.133 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.1445, allocations: 4.359 kB / 0.5589 GB, free: 2.129 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.408e-05/0.1445, allocations: 12.33 kB / 0.5589 GB, free: 2.117 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001407/0.1447, allocations: 53.61 kB / 0.5589 GB, free: 2.059 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.1447, allocations: 4 kB / 0.5589 GB, free: 2.055 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.1447, allocations: 4 kB / 0.559 GB, free: 2.051 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.1447, allocations: 4 kB / 0.559 GB, free: 2.047 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001009/0.1448, allocations: 23.97 kB / 0.559 GB, free: 2.023 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003953/0.1452, allocations: 292.8 kB / 0.5593 GB, free: 1.688 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001193/0.1453, allocations: 42.56 kB / 0.5593 GB, free: 1.637 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.369e-05/0.1454, allocations: 20.94 kB / 0.5593 GB, free: 1.613 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.047e-05/0.1454, allocations: 0 / 0.5593 GB, free: 1.613 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.041e-05/0.1454, allocations: 34.56 kB / 0.5593 GB, free: 1.57 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.113e-06/0.1454, allocations: 0 / 0.5593 GB, free: 1.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009981/0.1464, allocations: 233.1 kB / 0.5596 GB, free: 1.336 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.333e-05/0.1465, allocations: 51.41 kB / 0.5596 GB, free: 1.273 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002801/0.1467, allocations: 234.6 kB / 0.5598 GB, free: 1.031 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.11e-05/0.1468, allocations: 29.64 kB / 0.5599 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.382e-05/0.1468, allocations: 104.2 kB / 0.56 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.469e-05/0.1469, allocations: 35.72 kB / 0.56 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.99e-05/0.1469, allocations: 21.72 kB / 0.56 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000185/0.1471, allocations: 330.8 kB / 0.5603 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.422e-05/0.1472, allocations: 23.97 kB / 0.5604 GB, free: 484 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.563e-05/0.1473, allocations: 23.98 kB / 0.5604 GB, free: 460 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001566/0.1474, allocations: 60.83 kB / 0.5604 GB, free: 396 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.1474, allocations: 0 / 0.5604 GB, free: 396 kB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000222/0.1477, allocations: 105.7 kB / 0.5605 GB, free: 284 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.1477, allocations: 12 kB / 0.5606 GB, free: 272 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.1477, allocations: 0 / 0.5606 GB, free: 272 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.1477, allocations: 3.938 kB / 0.5606 GB, free: 268 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.1478, allocations: 15.98 kB / 0.5606 GB, free: 252 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.1478, allocations: 7.938 kB / 0.5606 GB, free: 244 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.621e-05/0.1479, allocations: 7.984 kB / 0.5606 GB, free: 236 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.1479, allocations: 8 kB / 0.5606 GB, free: 228 kB / 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.0001236/0.148, allocations: 129.1 kB / 0.5607 GB, free: 92 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.509e-05/0.148, allocations: 11.95 kB / 0.5607 GB, free: 80 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000319/0.1484, allocations: 134.9 kB / 0.5609 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1484, allocations: 0 / 0.5609 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/0.1484, allocations: 3.938 kB / 0.5609 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.1484, allocations: 0 / 0.5609 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005518/0.1489, allocations: 403.7 kB / 0.5613 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.1489, allocations: 4.031 kB / 0.5613 GB, free: 15.47 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.036e-05/0.149, allocations: 23.92 kB / 0.5613 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.149, allocations: 0 / 0.5613 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.149, allocations: 4 kB / 0.5613 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.149, allocations: 0 / 0.5613 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.149, allocations: 0 / 0.5613 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002818/0.1493, allocations: 212.2 kB / 0.5615 GB, free: 15.22 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.381e-05/0.1494, allocations: 89 kB / 0.5616 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.367e-05/0.1494, allocations: 7.984 kB / 0.5616 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.372e-05/0.1494, allocations: 4 kB / 0.5616 GB, free: 15.1 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.86e-05/0.1495, allocations: 7.984 kB / 0.5616 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-06/0.1495, allocations: 4 kB / 0.5616 GB, free: 15.09 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001622/0.1497, allocations: 175.2 kB / 0.5618 GB, free: 14.92 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1497, allocations: 0 / 0.5618 GB, free: 14.92 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002632/0.1499, allocations: 27.94 kB / 0.5618 GB, free: 14.89 MB / 430.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.002253/0.1522, allocations: 1.1 MB / 0.5629 GB, free: 13.95 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002369/0.1524, allocations: 63.91 kB / 0.5629 GB, free: 13.89 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1524, allocations: 0 / 0.5629 GB, free: 13.89 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.438e-05/0.1525, allocations: 35.95 kB / 0.563 GB, free: 13.85 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003845/0.1529, allocations: 23.81 kB / 0.563 GB, free: 13.83 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002077/0.155, allocations: 1.704 MB / 0.5646 GB, free: 12.04 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003332/0.1553, allocations: 0.7119 MB / 0.5653 GB, free: 11.3 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.114e-05/0.1554, allocations: 12.98 kB / 0.5653 GB, free: 11.29 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.995e-05/0.1554, allocations: 39.42 kB / 0.5654 GB, free: 11.25 MB / 430.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1554, allocations: 0 / 0.5654 GB, free: 11.25 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02504/0.1805, allocations: 3.215 MB / 0.5685 GB, free: 8.082 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.332/8.513, allocations: 3.938 kB / 0.5685 GB, free: 8.078 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test5_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test5.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.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: 11.614948079921305]