Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.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.001387/0.001387, 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.001544/0.001544, 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.562/1.562, allocations: 230.6 MB / 254.8 MB, free: 15.25 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.2482/0.2482, 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.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test1",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.00243/0.00243, allocations: 71.88 kB / 0.4886 GB, free: 11.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1587/0.1611, allocations: 65.41 MB / 0.5525 GB, free: 10.12 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.004922/0.1661, allocations: 1.607 MB / 0.554 GB, free: 8.504 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001261/0.1673, allocations: 0.5416 MB / 0.5545 GB, free: 7.957 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.97e-05/0.1674, allocations: 4 kB / 0.5546 GB, free: 7.953 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002638/0.1677, allocations: 19.8 kB / 0.5546 GB, free: 7.934 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003842/0.168, allocations: 83.67 kB / 0.5547 GB, free: 7.852 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003535/0.1684, allocations: 114.9 kB / 0.5548 GB, free: 7.742 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001649/0.1686, allocations: 63.78 kB / 0.5548 GB, free: 7.68 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001207/0.1687, allocations: 15.92 kB / 0.5548 GB, free: 7.664 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.907e-05/0.1688, allocations: 27.86 kB / 0.5549 GB, free: 7.637 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.891e-05/0.1688, allocations: 19.86 kB / 0.5549 GB, free: 7.617 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.445e-05/0.1688, allocations: 4 kB / 0.5549 GB, free: 7.613 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.731e-05/0.1689, allocations: 31.98 kB / 0.5549 GB, free: 7.582 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.21e-05/0.169, allocations: 27.84 kB / 0.5549 GB, free: 7.555 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.674e-05/0.169, allocations: 19.81 kB / 0.555 GB, free: 7.535 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002015/0.1692, allocations: 75.73 kB / 0.555 GB, free: 7.461 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.553e-06/0.1692, allocations: 4 kB / 0.555 GB, free: 7.457 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.504e-06/0.1693, allocations: 0 / 0.555 GB, free: 7.457 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.1693, allocations: 0 / 0.555 GB, free: 7.457 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.0006231/0.1699, allocations: 386.9 kB / 0.5554 GB, free: 7.031 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.1699, allocations: 8.031 kB / 0.5554 GB, free: 7.023 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.104e-05/0.1699, allocations: 8.188 kB / 0.5554 GB, free: 7.016 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.396e-05/0.17, allocations: 30.75 kB / 0.5555 GB, free: 6.977 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.915e-05/0.17, allocations: 12.88 kB / 0.5555 GB, free: 6.965 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002416/0.1703, allocations: 190.3 kB / 0.5556 GB, free: 6.742 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.544e-06/0.1703, allocations: 384 / 0.5556 GB, free: 6.742 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.46e-05/0.1703, allocations: 16.06 kB / 0.5557 GB, free: 6.727 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001613/0.1705, allocations: 49.67 kB / 0.5557 GB, free: 6.672 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.1705, allocations: 4 kB / 0.5557 GB, free: 6.668 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.968e-06/0.1705, allocations: 0 / 0.5557 GB, free: 6.668 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.1705, allocations: 0 / 0.5557 GB, free: 6.668 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001114/0.1706, allocations: 27.97 kB / 0.5557 GB, free: 6.641 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000488/0.1711, allocations: 288.8 kB / 0.556 GB, free: 6.309 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002444/0.1713, allocations: 46.56 kB / 0.5561 GB, free: 6.254 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.734e-05/0.1714, allocations: 12.94 kB / 0.5561 GB, free: 6.238 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.1714, allocations: 4 kB / 0.5561 GB, free: 6.234 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.901e-05/0.1715, allocations: 34.56 kB / 0.5561 GB, free: 6.191 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.1715, allocations: 0 / 0.5561 GB, free: 6.191 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006318/0.1721, allocations: 153.3 kB / 0.5563 GB, free: 6.035 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.681e-05/0.1721, allocations: 51.41 kB / 0.5563 GB, free: 5.973 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001774/0.1723, allocations: 156.2 kB / 0.5565 GB, free: 5.809 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.1723, allocations: 29.7 kB / 0.5565 GB, free: 5.773 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.228e-05/0.1724, allocations: 92.14 kB / 0.5566 GB, free: 5.68 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.98e-05/0.1724, allocations: 23.78 kB / 0.5566 GB, free: 5.656 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.701e-05/0.1725, allocations: 13.72 kB / 0.5566 GB, free: 5.637 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001622/0.1726, allocations: 326.8 kB / 0.5569 GB, free: 5.309 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.064e-05/0.1727, allocations: 19.98 kB / 0.5569 GB, free: 5.289 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.158e-05/0.1728, allocations: 23.92 kB / 0.557 GB, free: 5.266 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001527/0.173, allocations: 56.83 kB / 0.557 GB, free: 5.207 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.173, allocations: 0 / 0.557 GB, free: 5.207 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002045/0.1732, allocations: 85.61 kB / 0.5571 GB, free: 5.117 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.1732, allocations: 7.938 kB / 0.5571 GB, free: 5.109 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.1732, allocations: 0 / 0.5571 GB, free: 5.109 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/0.1732, allocations: 4 kB / 0.5571 GB, free: 5.105 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.256e-05/0.1733, allocations: 11.98 kB / 0.5571 GB, free: 5.094 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.1733, allocations: 4 kB / 0.5571 GB, free: 5.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.258e-05/0.1733, allocations: 7.938 kB / 0.5571 GB, free: 5.082 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/0.1733, allocations: 4.188 kB / 0.5571 GB, free: 5.078 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.0001194/0.1734, allocations: 124 kB / 0.5573 GB, free: 4.949 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.327e-05/0.1735, allocations: 7.953 kB / 0.5573 GB, free: 4.941 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002795/0.1738, allocations: 97.97 kB / 0.5574 GB, free: 4.836 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.1738, allocations: 3.938 kB / 0.5574 GB, free: 4.832 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.1738, allocations: 8 kB / 0.5574 GB, free: 4.824 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.1738, allocations: 7.922 kB / 0.5574 GB, free: 4.816 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005176/0.1743, allocations: 354.5 kB / 0.5577 GB, free: 4.414 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.1743, allocations: 0 / 0.5577 GB, free: 4.414 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.675e-05/0.1744, allocations: 8 kB / 0.5577 GB, free: 4.406 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.409e-06/0.1744, allocations: 4 kB / 0.5577 GB, free: 4.402 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.502e-05/0.1744, allocations: 7.922 kB / 0.5577 GB, free: 4.395 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.1744, allocations: 0 / 0.5577 GB, free: 4.395 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1744, allocations: 4 kB / 0.5577 GB, free: 4.391 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002635/0.1746, allocations: 183.4 kB / 0.5579 GB, free: 4.195 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.292e-05/0.1747, allocations: 81.06 kB / 0.558 GB, free: 4.098 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.951e-05/0.1747, allocations: 7.938 kB / 0.558 GB, free: 4.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.518e-05/0.1748, allocations: 4 kB / 0.558 GB, free: 4.086 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.571e-05/0.1748, allocations: 7.984 kB / 0.558 GB, free: 4.078 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-06/0.1748, allocations: 4 kB / 0.558 GB, free: 4.074 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.701e-05/0.1749, allocations: 116.6 kB / 0.5581 GB, free: 3.961 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1749, allocations: 0 / 0.5581 GB, free: 3.961 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002491/0.1752, allocations: 15.98 kB / 0.5581 GB, free: 3.945 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.1772, allocations: 1.017 MB / 0.5591 GB, free: 3.062 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002335/0.1775, allocations: 51.84 kB / 0.5592 GB, free: 3.012 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1775, allocations: 0 / 0.5592 GB, free: 3.012 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.937e-05/0.1776, allocations: 31.97 kB / 0.5592 GB, free: 2.98 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003708/0.1779, allocations: 16.5 kB / 0.5592 GB, free: 2.965 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001861/0.1798, allocations: 1.464 MB / 0.5607 GB, free: 1.418 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003409/0.1801, allocations: 0.6963 MB / 0.5613 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.116e-05/0.1802, allocations: 23.81 kB / 0.5614 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.941e-05/0.1803, allocations: 23.42 kB / 0.5614 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1803, allocations: 4 kB / 0.5614 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01896/0.1992, allocations: 2.628 MB / 0.5639 GB, free: 14.08 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.226/8.425, allocations: 8 kB / 0.564 GB, free: 14.07 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test1_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test1.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.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.739076885045506]