Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.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.001361/0.001361, allocations: 120.1 kB / 18.49 MB, free: 4.562 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.001486/0.001486, allocations: 215 kB / 21.45 MB, free: 1.617 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.485/1.485, allocations: 230.6 MB / 254.8 MB, free: 15.24 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.22/0.22, allocations: 44.91 MB / 355.8 MB, free: 12.34 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.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test31",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test31",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.001981/0.001981, allocations: 69.94 kB / 0.4886 GB, free: 11.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.1447, allocations: 65.42 MB / 0.5525 GB, free: 10.1 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.004234/0.1489, allocations: 1.63 MB / 0.5541 GB, free: 8.457 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001073/0.15, allocations: 0.5494 MB / 0.5546 GB, free: 7.902 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.85e-05/0.15, allocations: 0 / 0.5546 GB, free: 7.902 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003365/0.1504, allocations: 127.7 kB / 0.5547 GB, free: 7.777 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003492/0.1507, allocations: 123.5 kB / 0.5548 GB, free: 7.656 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003407/0.1511, allocations: 119.6 kB / 0.5549 GB, free: 7.539 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002213/0.1513, allocations: 99.73 kB / 0.555 GB, free: 7.441 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.1514, allocations: 15.92 kB / 0.5551 GB, free: 7.426 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.229e-05/0.1515, allocations: 51.81 kB / 0.5551 GB, free: 7.375 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001391/0.1516, allocations: 99.7 kB / 0.5552 GB, free: 7.277 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.306e-05/0.1516, allocations: 0 / 0.5552 GB, free: 7.277 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001003/0.1517, allocations: 47.98 kB / 0.5552 GB, free: 7.23 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.298e-05/0.1518, allocations: 23.92 kB / 0.5553 GB, free: 7.207 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.886e-05/0.1518, allocations: 43.66 kB / 0.5553 GB, free: 7.164 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002495/0.1521, allocations: 127.4 kB / 0.5554 GB, free: 7.039 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.1521, allocations: 4 kB / 0.5554 GB, free: 7.035 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1521, allocations: 0 / 0.5554 GB, free: 7.035 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.1521, allocations: 0 / 0.5554 GB, free: 7.035 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.0005301/0.1526, allocations: 440.4 kB / 0.5559 GB, free: 6.559 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.1527, allocations: 12.03 kB / 0.5559 GB, free: 6.547 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.382e-05/0.1527, allocations: 192 / 0.5559 GB, free: 6.547 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.202e-05/0.1527, allocations: 34.75 kB / 0.5559 GB, free: 6.504 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.489e-05/0.1527, allocations: 16.84 kB / 0.5559 GB, free: 6.488 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002081/0.1529, allocations: 215.8 kB / 0.5561 GB, free: 6.238 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.087e-06/0.153, allocations: 4.375 kB / 0.5561 GB, free: 6.234 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.95e-05/0.153, allocations: 4.125 kB / 0.5561 GB, free: 6.23 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001415/0.1531, allocations: 61.61 kB / 0.5562 GB, free: 6.164 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.1531, allocations: 4 kB / 0.5562 GB, free: 6.16 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.228e-06/0.1531, allocations: 0 / 0.5562 GB, free: 6.16 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.1531, allocations: 0 / 0.5562 GB, free: 6.16 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001397/0.1533, allocations: 31.97 kB / 0.5562 GB, free: 6.129 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004264/0.1537, allocations: 304.8 kB / 0.5565 GB, free: 5.781 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001112/0.1538, allocations: 42.5 kB / 0.5566 GB, free: 5.73 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.685e-05/0.1539, allocations: 24.94 kB / 0.5566 GB, free: 5.703 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.921e-05/0.1539, allocations: 0 / 0.5566 GB, free: 5.703 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.625e-05/0.1539, allocations: 34.56 kB / 0.5566 GB, free: 5.66 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 8.01e-07/0.1539, allocations: 0 / 0.5566 GB, free: 5.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009221/0.1548, allocations: 261.1 kB / 0.5569 GB, free: 5.398 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.752e-05/0.1549, allocations: 59.34 kB / 0.5569 GB, free: 5.328 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003246/0.1552, allocations: 279.8 kB / 0.5572 GB, free: 5.039 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.251e-05/0.1552, allocations: 25.7 kB / 0.5572 GB, free: 5.008 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.1554, allocations: 116.1 kB / 0.5573 GB, free: 4.891 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.969e-05/0.1554, allocations: 19.75 kB / 0.5573 GB, free: 4.871 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.402e-05/0.1554, allocations: 29.7 kB / 0.5574 GB, free: 4.836 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.1556, allocations: 326.8 kB / 0.5577 GB, free: 4.508 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.666e-05/0.1557, allocations: 35.91 kB / 0.5577 GB, free: 4.473 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.851e-05/0.1558, allocations: 31.98 kB / 0.5577 GB, free: 4.441 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001756/0.1559, allocations: 76.75 kB / 0.5578 GB, free: 4.363 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.1559, allocations: 0 / 0.5578 GB, free: 4.363 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002409/0.1562, allocations: 117.5 kB / 0.5579 GB, free: 4.242 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.1562, allocations: 4 kB / 0.5579 GB, free: 4.238 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.1562, allocations: 320 / 0.5579 GB, free: 4.238 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.1562, allocations: 4 kB / 0.5579 GB, free: 4.234 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/0.1563, allocations: 19.92 kB / 0.558 GB, free: 4.215 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.1563, allocations: 3.938 kB / 0.558 GB, free: 4.211 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.476e-05/0.1564, allocations: 4 kB / 0.558 GB, free: 4.207 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.598e-05/0.1564, allocations: 15.97 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.0001087/0.1565, allocations: 136 kB / 0.5581 GB, free: 4.051 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.932e-05/0.1565, allocations: 16.33 kB / 0.5581 GB, free: 4.035 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003212/0.1569, allocations: 127 kB / 0.5582 GB, free: 3.902 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.1569, allocations: 3.984 kB / 0.5582 GB, free: 3.898 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.1569, allocations: 3.938 kB / 0.5583 GB, free: 3.895 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.738e-06/0.1569, allocations: 3.984 kB / 0.5583 GB, free: 3.891 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006299/0.1575, allocations: 439.2 kB / 0.5587 GB, free: 3.402 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.1575, allocations: 3.938 kB / 0.5587 GB, free: 3.398 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.149e-05/0.1576, allocations: 15.98 kB / 0.5587 GB, free: 3.383 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.1576, allocations: 0 / 0.5587 GB, free: 3.383 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.1576, allocations: 8 kB / 0.5587 GB, free: 3.375 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.1576, allocations: 3.938 kB / 0.5587 GB, free: 3.371 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1576, allocations: 0 / 0.5587 GB, free: 3.371 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003102/0.1579, allocations: 224.2 kB / 0.5589 GB, free: 3.133 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.669e-05/0.158, allocations: 92.95 kB / 0.559 GB, free: 3.023 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.866e-05/0.158, allocations: 0 / 0.559 GB, free: 3.023 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.703e-05/0.1581, allocations: 7.984 kB / 0.559 GB, free: 3.016 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.331e-05/0.1581, allocations: 4 kB / 0.559 GB, free: 3.012 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-06/0.1581, allocations: 4 kB / 0.559 GB, free: 3.008 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002104/0.1583, allocations: 213.5 kB / 0.5592 GB, free: 2.801 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1583, allocations: 0 / 0.5592 GB, free: 2.801 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000262/0.1586, allocations: 27.94 kB / 0.5593 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.002317/0.1609, allocations: 1.103 MB / 0.5603 GB, free: 1.828 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002656/0.1612, allocations: 71.94 kB / 0.5604 GB, free: 1.758 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1612, allocations: 0 / 0.5604 GB, free: 1.758 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00011/0.1613, allocations: 47.97 kB / 0.5604 GB, free: 1.711 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004335/0.1617, allocations: 23.66 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.00252/0.1642, allocations: 1.851 MB / 0.5623 GB, free: 15.74 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004601/0.1647, allocations: 0.7288 MB / 0.563 GB, free: 14.99 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.791e-05/0.1648, allocations: 16.66 kB / 0.563 GB, free: 14.97 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.576e-05/0.1649, allocations: 43.41 kB / 0.563 GB, free: 14.93 MB / 430.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1649, allocations: 3.938 kB / 0.563 GB, free: 14.92 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01972/0.1846, allocations: 3.506 MB / 0.5665 GB, free: 11.48 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.592/8.777, allocations: 11.69 kB / 0.5665 GB, free: 11.48 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test31_fmu --startTime=0 --stopTime=15 --stepSize=0.0029988 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test31.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.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.884868772001937]