Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.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.001979/0.001979, allocations: 122.2 kB / 18.5 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.001656/0.001656, allocations: 215.1 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.556/1.556, allocations: 230.6 MB / 254.8 MB, free: 15.11 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.243/0.243, allocations: 44.91 MB / 355.8 MB, free: 12.32 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.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test2",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.001992/0.001992, allocations: 59.91 kB / 0.4886 GB, free: 11.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1528/0.1548, allocations: 65.42 MB / 0.5524 GB, free: 10.12 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.003323/0.1581, allocations: 1.613 MB / 0.554 GB, free: 8.492 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001156/0.1593, allocations: 0.5416 MB / 0.5546 GB, free: 7.945 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.092e-05/0.1593, allocations: 0 / 0.5546 GB, free: 7.945 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002382/0.1596, allocations: 27.83 kB / 0.5546 GB, free: 7.918 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000305/0.1599, allocations: 71.64 kB / 0.5546 GB, free: 7.848 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003396/0.1602, allocations: 111.7 kB / 0.5548 GB, free: 7.738 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001713/0.1604, allocations: 75.7 kB / 0.5548 GB, free: 7.664 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.1605, allocations: 15.92 kB / 0.5548 GB, free: 7.648 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.544e-05/0.1606, allocations: 23.86 kB / 0.5549 GB, free: 7.625 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.644e-05/0.1606, allocations: 19.88 kB / 0.5549 GB, free: 7.605 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.669e-05/0.1606, allocations: 4 kB / 0.5549 GB, free: 7.602 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.992e-05/0.1607, allocations: 35.97 kB / 0.5549 GB, free: 7.566 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.066e-05/0.1608, allocations: 15.92 kB / 0.5549 GB, free: 7.551 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.531e-05/0.1608, allocations: 23.81 kB / 0.555 GB, free: 7.527 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000188/0.161, allocations: 75.72 kB / 0.555 GB, free: 7.453 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.161, allocations: 0 / 0.555 GB, free: 7.453 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.161, allocations: 4 kB / 0.555 GB, free: 7.449 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.161, allocations: 3.938 kB / 0.555 GB, free: 7.445 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006005/0.1616, allocations: 390.9 kB / 0.5554 GB, free: 7.016 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.1617, allocations: 8.031 kB / 0.5554 GB, free: 7.008 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.148e-05/0.1617, allocations: 192 / 0.5554 GB, free: 7.008 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.933e-05/0.1618, allocations: 42.73 kB / 0.5555 GB, free: 6.957 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.397e-05/0.1618, allocations: 4.891 kB / 0.5555 GB, free: 6.953 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002286/0.162, allocations: 182.4 kB / 0.5556 GB, free: 6.738 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.162, allocations: 12.31 kB / 0.5556 GB, free: 6.727 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.35e-05/0.162, allocations: 4.125 kB / 0.5557 GB, free: 6.723 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001523/0.1622, allocations: 49.67 kB / 0.5557 GB, free: 6.668 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.1622, allocations: 3.938 kB / 0.5557 GB, free: 6.664 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.1622, allocations: 0 / 0.5557 GB, free: 6.664 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.1622, allocations: 4 kB / 0.5557 GB, free: 6.66 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001322/0.1624, allocations: 19.98 kB / 0.5557 GB, free: 6.641 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004805/0.1628, allocations: 296.8 kB / 0.556 GB, free: 6.301 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002415/0.1631, allocations: 42.5 kB / 0.5561 GB, free: 6.25 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.336e-05/0.1632, allocations: 20.94 kB / 0.5561 GB, free: 6.227 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.494e-05/0.1632, allocations: 3.984 kB / 0.5561 GB, free: 6.223 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.451e-05/0.1632, allocations: 30.56 kB / 0.5561 GB, free: 6.184 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.623e-06/0.1632, allocations: 0 / 0.5561 GB, free: 6.184 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006391/0.1639, allocations: 157.3 kB / 0.5563 GB, free: 6.023 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.38e-05/0.1639, allocations: 55.41 kB / 0.5563 GB, free: 5.957 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001931/0.1641, allocations: 148.4 kB / 0.5564 GB, free: 5.801 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.418e-05/0.1641, allocations: 25.7 kB / 0.5565 GB, free: 5.77 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.645e-05/0.1642, allocations: 100.1 kB / 0.5566 GB, free: 5.668 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.832e-05/0.1642, allocations: 23.78 kB / 0.5566 GB, free: 5.645 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.344e-05/0.1643, allocations: 21.72 kB / 0.5566 GB, free: 5.617 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001738/0.1645, allocations: 326.8 kB / 0.5569 GB, free: 5.289 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.105e-05/0.1645, allocations: 19.98 kB / 0.5569 GB, free: 5.27 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.038e-05/0.1646, allocations: 19.98 kB / 0.557 GB, free: 5.25 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001546/0.1648, allocations: 48.83 kB / 0.557 GB, free: 5.199 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.1648, allocations: 3.938 kB / 0.557 GB, free: 5.195 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002103/0.165, allocations: 93.55 kB / 0.5571 GB, free: 5.098 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.165, allocations: 4 kB / 0.5571 GB, free: 5.094 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.165, allocations: 0 / 0.5571 GB, free: 5.094 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.165, allocations: 0 / 0.5571 GB, free: 5.094 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.644e-05/0.1651, allocations: 15.98 kB / 0.5571 GB, free: 5.078 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.1651, allocations: 0 / 0.5571 GB, free: 5.078 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.525e-05/0.1651, allocations: 11.94 kB / 0.5571 GB, free: 5.066 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.1651, allocations: 0 / 0.5571 GB, free: 5.066 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 (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.0001155/0.1653, allocations: 124 kB / 0.5572 GB, free: 4.938 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.285e-05/0.1653, allocations: 7.953 kB / 0.5573 GB, free: 4.93 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002705/0.1656, allocations: 105.8 kB / 0.5574 GB, free: 4.816 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.1656, allocations: 0 / 0.5574 GB, free: 4.816 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.1656, allocations: 320 / 0.5574 GB, free: 4.816 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.032e-06/0.1656, allocations: 3.938 kB / 0.5574 GB, free: 4.812 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005288/0.1661, allocations: 358.6 kB / 0.5577 GB, free: 4.406 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1661, allocations: 0 / 0.5577 GB, free: 4.406 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.159e-05/0.1662, allocations: 11.94 kB / 0.5577 GB, free: 4.395 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.1662, allocations: 3.984 kB / 0.5577 GB, free: 4.391 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.1662, allocations: 3.938 kB / 0.5577 GB, free: 4.387 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1662, allocations: 4 kB / 0.5577 GB, free: 4.383 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1662, allocations: 0 / 0.5577 GB, free: 4.383 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002807/0.1665, allocations: 187.5 kB / 0.5579 GB, free: 4.184 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.233e-05/0.1665, allocations: 81.06 kB / 0.558 GB, free: 4.086 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.801e-05/0.1665, allocations: 3.938 kB / 0.558 GB, free: 4.082 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.791e-05/0.1666, allocations: 4 kB / 0.558 GB, free: 4.078 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.081e-05/0.1666, allocations: 7.984 kB / 0.558 GB, free: 4.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.499e-06/0.1666, allocations: 0 / 0.558 GB, free: 4.07 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001148/0.1668, allocations: 120.6 kB / 0.5581 GB, free: 3.953 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1668, allocations: 0 / 0.5581 GB, free: 3.953 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002548/0.167, allocations: 12 kB / 0.5581 GB, free: 3.941 MB / 414.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.002062/0.1691, allocations: 1.021 MB / 0.5591 GB, free: 3.059 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002378/0.1693, allocations: 59.91 kB / 0.5592 GB, free: 3 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1693, allocations: 0 / 0.5592 GB, free: 3 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.893e-05/0.1694, allocations: 31.91 kB / 0.5592 GB, free: 2.969 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004208/0.1698, allocations: 15.94 kB / 0.5592 GB, free: 2.953 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001963/0.1718, allocations: 1.46 MB / 0.5606 GB, free: 1.41 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003582/0.1722, allocations: 0.7007 MB / 0.5613 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.958e-05/0.1722, allocations: 15.84 kB / 0.5613 GB, free: 0.668 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.96e-05/0.1723, allocations: 27.36 kB / 0.5614 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1723, allocations: 0 / 0.5614 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01784/0.1901, allocations: 2.632 MB / 0.5639 GB, free: 14.07 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.199/8.389, allocations: 3.938 kB / 0.5639 GB, free: 14.07 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test2_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test2.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.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.743127027002629]