Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32.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.001986/0.001986, 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.00234/0.00234, 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.499/1.499, allocations: 230.6 MB / 254.8 MB, free: 15.1 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.2349/0.2349, allocations: 46.93 MB / 357.8 MB, free: 10.31 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.Test32,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test32",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test32,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test32",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002196/0.002196, allocations: 63.91 kB / 0.4916 GB, free: 7.938 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1455, allocations: 65.99 MB / 0.5561 GB, free: 5.82 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.003782/0.1493, allocations: 1.616 MB / 0.5577 GB, free: 4.191 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001179/0.1505, allocations: 0.5455 MB / 0.5582 GB, free: 3.641 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.25e-05/0.1506, allocations: 0 / 0.5582 GB, free: 3.641 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003712/0.1509, allocations: 115.6 kB / 0.5583 GB, free: 3.527 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003308/0.1513, allocations: 119.6 kB / 0.5584 GB, free: 3.41 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002855/0.1516, allocations: 83.77 kB / 0.5585 GB, free: 3.328 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002165/0.1518, allocations: 103.7 kB / 0.5586 GB, free: 3.227 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.855e-05/0.1519, allocations: 8 kB / 0.5586 GB, free: 3.219 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.056e-05/0.152, allocations: 43.83 kB / 0.5586 GB, free: 3.176 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001433/0.1521, allocations: 79.72 kB / 0.5587 GB, free: 3.098 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.753e-05/0.1521, allocations: 4 kB / 0.5587 GB, free: 3.094 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001291/0.1523, allocations: 39.98 kB / 0.5588 GB, free: 3.055 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.005e-05/0.1523, allocations: 23.92 kB / 0.5588 GB, free: 3.031 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.025e-05/0.1524, allocations: 39.67 kB / 0.5588 GB, free: 2.992 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002296/0.1526, allocations: 119.4 kB / 0.5589 GB, free: 2.875 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.1526, allocations: 7.938 kB / 0.5589 GB, free: 2.867 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1526, allocations: 4 kB / 0.559 GB, free: 2.863 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.1526, allocations: 0 / 0.559 GB, free: 2.863 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.0006043/0.1532, allocations: 434.5 kB / 0.5594 GB, free: 2.391 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.1533, allocations: 8.031 kB / 0.5594 GB, free: 2.383 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.245e-05/0.1533, allocations: 192 / 0.5594 GB, free: 2.383 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.684e-05/0.1533, allocations: 38.75 kB / 0.5594 GB, free: 2.336 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.879e-05/0.1533, allocations: 8.891 kB / 0.5594 GB, free: 2.328 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000259/0.1536, allocations: 208.9 kB / 0.5596 GB, free: 2.082 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.376e-06/0.1536, allocations: 12.36 kB / 0.5596 GB, free: 2.07 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.751e-05/0.1536, allocations: 4.125 kB / 0.5596 GB, free: 2.066 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002037/0.1538, allocations: 61.61 kB / 0.5597 GB, free: 2 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.675e-05/0.1539, allocations: 3.953 kB / 0.5597 GB, free: 1.996 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.1539, allocations: 0 / 0.5597 GB, free: 1.996 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.1539, allocations: 0 / 0.5597 GB, free: 1.996 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001121/0.154, allocations: 31.95 kB / 0.5597 GB, free: 1.965 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004697/0.1545, allocations: 296.8 kB / 0.56 GB, free: 1.625 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001222/0.1546, allocations: 42.5 kB / 0.5601 GB, free: 1.574 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.773e-05/0.1546, allocations: 24.88 kB / 0.5601 GB, free: 1.547 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.329e-05/0.1547, allocations: 0 / 0.5601 GB, free: 1.547 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.728e-05/0.1547, allocations: 30.56 kB / 0.5601 GB, free: 1.508 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 7.61e-07/0.1547, allocations: 0 / 0.5601 GB, free: 1.508 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.001007/0.1557, allocations: 237.2 kB / 0.5603 GB, free: 1.27 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.466e-05/0.1557, allocations: 55.34 kB / 0.5604 GB, free: 1.203 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003214/0.1561, allocations: 258.1 kB / 0.5606 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.972e-05/0.1561, allocations: 25.7 kB / 0.5607 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.724e-05/0.1562, allocations: 116.1 kB / 0.5608 GB, free: 0.793 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.82e-05/0.1562, allocations: 23.75 kB / 0.5608 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.768e-05/0.1563, allocations: 25.7 kB / 0.5608 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.1564, allocations: 322.8 kB / 0.5611 GB, free: 424 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.177e-05/0.1565, allocations: 23.98 kB / 0.5611 GB, free: 400 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.011e-05/0.1566, allocations: 31.98 kB / 0.5612 GB, free: 368 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001785/0.1568, allocations: 64.83 kB / 0.5612 GB, free: 300 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.1568, allocations: 0 / 0.5612 GB, free: 300 kB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002497/0.157, allocations: 105.6 kB / 0.5613 GB, free: 188 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.1571, allocations: 4 kB / 0.5613 GB, free: 184 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.1571, allocations: 0 / 0.5613 GB, free: 184 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.1571, allocations: 0 / 0.5613 GB, free: 184 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001123/0.1572, allocations: 19.98 kB / 0.5614 GB, free: 164 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.1572, allocations: 3.938 kB / 0.5614 GB, free: 160 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.674e-05/0.1572, allocations: 7.938 kB / 0.5614 GB, free: 152 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.1573, allocations: 4 kB / 0.5614 GB, free: 148 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.0001342/0.1574, allocations: 140 kB / 0.5615 GB, free: 0 / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.424e-05/0.1575, allocations: 12.09 kB / 0.5615 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003174/0.1578, allocations: 119 kB / 0.5616 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.1578, allocations: 0 / 0.5616 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.1578, allocations: 3.75 kB / 0.5616 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-06/0.1578, allocations: 7.984 kB / 0.5616 GB, free: 15.85 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000655/0.1584, allocations: 415.2 kB / 0.562 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.1584, allocations: 3.938 kB / 0.562 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.954e-05/0.1585, allocations: 27.92 kB / 0.5621 GB, free: 15.35 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.1585, allocations: 0 / 0.5621 GB, free: 15.35 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.1586, allocations: 4 kB / 0.5621 GB, free: 15.35 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.833e-06/0.1586, allocations: 4 kB / 0.5621 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.1586, allocations: 0 / 0.5621 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003178/0.1589, allocations: 212.6 kB / 0.5623 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.712e-05/0.1589, allocations: 85.06 kB / 0.5624 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.84e-05/0.159, allocations: 0 / 0.5624 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.255e-05/0.159, allocations: 11.98 kB / 0.5624 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.86e-05/0.1591, allocations: 7.938 kB / 0.5624 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.376e-06/0.1591, allocations: 8.422 kB / 0.5624 GB, free: 14.99 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001939/0.1593, allocations: 188.4 kB / 0.5626 GB, free: 14.8 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1593, allocations: 0 / 0.5626 GB, free: 14.8 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000264/0.1595, allocations: 23.92 kB / 0.5626 GB, free: 14.78 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.002342/0.1619, allocations: 1.098 MB / 0.5637 GB, free: 13.84 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002736/0.1622, allocations: 67.89 kB / 0.5637 GB, free: 13.78 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.1622, allocations: 0 / 0.5637 GB, free: 13.78 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.726e-05/0.1623, allocations: 35.91 kB / 0.5638 GB, free: 13.74 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004187/0.1627, allocations: 27.67 kB / 0.5638 GB, free: 13.71 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002407/0.1651, allocations: 1.748 MB / 0.5655 GB, free: 11.87 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004017/0.1655, allocations: 0.7158 MB / 0.5662 GB, free: 11.13 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.11e-05/0.1655, allocations: 16.95 kB / 0.5662 GB, free: 11.11 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.546e-05/0.1656, allocations: 35.42 kB / 0.5662 GB, free: 11.08 MB / 430.1 MB Notification: Performance of SimCode: time 4.5e-07/0.1656, allocations: 0 / 0.5662 GB, free: 11.08 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02011/0.1857, allocations: 3.341 MB / 0.5695 GB, free: 7.805 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.504/8.69, allocations: 5 kB / 0.5695 GB, free: 7.801 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test32_fmu --startTime=7.99 --stopTime=20 --stepSize=0.00240104 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test32.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32.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.901470098993741]