Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.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.001369/0.001369, allocations: 113 kB / 18.49 MB, free: 4.539 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.001522/0.001522, allocations: 217.4 kB / 21.46 MB, free: 1.586 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.534/1.534, allocations: 230.6 MB / 254.8 MB, free: 15.08 MB / 206.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.2259/0.2259, allocations: 44.9 MB / 355.8 MB, free: 12.39 MB / 286.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.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.CombiTable1Dv.Test27,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test27",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test27,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test27",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 67.91 kB / 0.4886 GB, free: 11.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1245, allocations: 65.42 MB / 0.5525 GB, free: 10.09 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test27): time 0.003524/0.128, allocations: 1.628 MB / 0.5541 GB, free: 8.453 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001089/0.1291, allocations: 0.5533 MB / 0.5546 GB, free: 7.895 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.426e-05/0.1292, allocations: 0 / 0.5546 GB, free: 7.895 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003438/0.1295, allocations: 127.6 kB / 0.5547 GB, free: 7.77 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003183/0.1298, allocations: 123.6 kB / 0.5548 GB, free: 7.648 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003174/0.1301, allocations: 111.7 kB / 0.5549 GB, free: 7.539 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002022/0.1303, allocations: 103.7 kB / 0.555 GB, free: 7.438 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.1305, allocations: 15.92 kB / 0.5551 GB, free: 7.422 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.103e-05/0.1305, allocations: 43.89 kB / 0.5551 GB, free: 7.379 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001593/0.1307, allocations: 99.7 kB / 0.5552 GB, free: 7.281 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.716e-05/0.1307, allocations: 7.938 kB / 0.5552 GB, free: 7.273 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001217/0.1308, allocations: 43.97 kB / 0.5552 GB, free: 7.23 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.977e-05/0.1309, allocations: 31.92 kB / 0.5553 GB, free: 7.199 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.78e-05/0.131, allocations: 39.67 kB / 0.5553 GB, free: 7.16 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002436/0.1312, allocations: 123.4 kB / 0.5554 GB, free: 7.039 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.1312, allocations: 0 / 0.5554 GB, free: 7.039 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1312, allocations: 0 / 0.5554 GB, free: 7.039 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.1312, allocations: 0 / 0.5554 GB, free: 7.039 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.0006094/0.1318, allocations: 446.5 kB / 0.5559 GB, free: 6.555 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.1319, allocations: 11.97 kB / 0.5559 GB, free: 6.543 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.387e-05/0.1319, allocations: 192 / 0.5559 GB, free: 6.543 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.867e-05/0.1319, allocations: 38.75 kB / 0.5559 GB, free: 6.496 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.115e-05/0.132, allocations: 12.84 kB / 0.5559 GB, free: 6.484 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000271/0.1322, allocations: 215.8 kB / 0.5561 GB, free: 6.234 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.077e-06/0.1322, allocations: 4.375 kB / 0.5561 GB, free: 6.23 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.297e-05/0.1323, allocations: 12.11 kB / 0.5561 GB, free: 6.219 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001577/0.1324, allocations: 45.69 kB / 0.5562 GB, free: 6.168 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.1324, allocations: 0 / 0.5562 GB, free: 6.168 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.1325, allocations: 4 kB / 0.5562 GB, free: 6.164 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.1325, allocations: 4 kB / 0.5562 GB, free: 6.16 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001172/0.1326, allocations: 39.89 kB / 0.5562 GB, free: 6.121 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004849/0.1331, allocations: 300.8 kB / 0.5565 GB, free: 5.777 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001228/0.1332, allocations: 42.56 kB / 0.5566 GB, free: 5.727 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.377e-05/0.1332, allocations: 16.94 kB / 0.5566 GB, free: 5.707 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.636e-05/0.1333, allocations: 7.938 kB / 0.5566 GB, free: 5.699 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.1333, allocations: 38.56 kB / 0.5566 GB, free: 5.652 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.302e-06/0.1333, allocations: 0 / 0.5566 GB, free: 5.652 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.001033/0.1343, allocations: 257.3 kB / 0.5569 GB, free: 5.395 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.473e-05/0.1344, allocations: 63.33 kB / 0.5569 GB, free: 5.32 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003304/0.1347, allocations: 275.8 kB / 0.5572 GB, free: 5.035 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/0.1347, allocations: 29.7 kB / 0.5572 GB, free: 5 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.846e-05/0.1348, allocations: 116.1 kB / 0.5573 GB, free: 4.883 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.86e-05/0.1348, allocations: 35.8 kB / 0.5574 GB, free: 4.848 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.048e-05/0.1349, allocations: 17.72 kB / 0.5574 GB, free: 4.824 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.135, allocations: 326.8 kB / 0.5577 GB, free: 4.496 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.612e-05/0.1351, allocations: 31.97 kB / 0.5577 GB, free: 4.465 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.117e-05/0.1352, allocations: 31.98 kB / 0.5577 GB, free: 4.434 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001781/0.1354, allocations: 76.75 kB / 0.5578 GB, free: 4.355 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.1354, allocations: 0 / 0.5578 GB, free: 4.355 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000242/0.1356, allocations: 109.6 kB / 0.5579 GB, free: 4.242 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.1356, allocations: 8 kB / 0.5579 GB, free: 4.234 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.1356, allocations: 96 / 0.5579 GB, free: 4.234 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.1357, allocations: 3.984 kB / 0.5579 GB, free: 4.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.1358, allocations: 23.98 kB / 0.558 GB, free: 4.207 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.1358, allocations: 7.938 kB / 0.558 GB, free: 4.199 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.548e-05/0.1358, allocations: 3.984 kB / 0.558 GB, free: 4.195 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.1358, allocations: 4 kB / 0.558 GB, free: 4.191 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.0001147/0.1359, allocations: 140 kB / 0.5581 GB, free: 4.047 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.153e-05/0.136, allocations: 15.91 kB / 0.5581 GB, free: 4.031 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003171/0.1363, allocations: 139 kB / 0.5583 GB, free: 3.887 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.1363, allocations: 0 / 0.5583 GB, free: 3.887 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.1363, allocations: 3.938 kB / 0.5583 GB, free: 3.883 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.1363, allocations: 0 / 0.5583 GB, free: 3.883 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005916/0.1369, allocations: 427.7 kB / 0.5587 GB, free: 3.406 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.1369, allocations: 3.938 kB / 0.5587 GB, free: 3.402 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.624e-05/0.137, allocations: 15.98 kB / 0.5587 GB, free: 3.387 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.137, allocations: 8.031 kB / 0.5587 GB, free: 3.379 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.137, allocations: 3.938 kB / 0.5587 GB, free: 3.375 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.137, allocations: 80 / 0.5587 GB, free: 3.375 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.695e-06/0.137, allocations: 7.969 kB / 0.5587 GB, free: 3.367 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002955/0.1373, allocations: 220.2 kB / 0.5589 GB, free: 3.133 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.176e-05/0.1374, allocations: 92.95 kB / 0.559 GB, free: 3.023 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.942e-05/0.1374, allocations: 4 kB / 0.559 GB, free: 3.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.191e-05/0.1375, allocations: 7.984 kB / 0.559 GB, free: 3.012 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.048e-05/0.1375, allocations: 8 kB / 0.559 GB, free: 3.004 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.604e-06/0.1375, allocations: 4 kB / 0.559 GB, free: 3 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001979/0.1377, allocations: 209.5 kB / 0.5592 GB, free: 2.797 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1377, allocations: 0 / 0.5592 GB, free: 2.797 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002776/0.138, allocations: 23.94 kB / 0.5592 GB, free: 2.773 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.002266/0.1403, allocations: 1.114 MB / 0.5603 GB, free: 1.82 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002511/0.1405, allocations: 67.89 kB / 0.5604 GB, free: 1.754 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1405, allocations: 0 / 0.5604 GB, free: 1.754 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001048/0.1406, allocations: 39.97 kB / 0.5604 GB, free: 1.715 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003693/0.141, allocations: 32.52 kB / 0.5605 GB, free: 1.688 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002372/0.1434, allocations: 1.859 MB / 0.5623 GB, free: 15.73 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003612/0.1437, allocations: 0.7197 MB / 0.563 GB, free: 14.99 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.802e-05/0.1438, allocations: 24.95 kB / 0.563 GB, free: 14.96 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.952e-05/0.1439, allocations: 47.41 kB / 0.5631 GB, free: 14.91 MB / 430.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1439, allocations: 0 / 0.5631 GB, free: 14.91 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01971/0.1636, allocations: 3.496 MB / 0.5665 GB, free: 11.48 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.394/8.557, allocations: 12.94 kB / 0.5665 GB, free: 11.47 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test27_fmu --startTime=0 --stopTime=15 --stepSize=0.0029988 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test27.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.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.760347136994824]