Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.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.001782/0.001782, 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.002083/0.002083, 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.632/1.632, allocations: 230.6 MB / 254.8 MB, free: 15.23 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.2459/0.2459, allocations: 44.9 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.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test21",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test21",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.002305/0.002305, allocations: 75.88 kB / 0.4886 GB, free: 11.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.1578, allocations: 65.41 MB / 0.5525 GB, free: 10.11 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.004372/0.1622, allocations: 1.613 MB / 0.554 GB, free: 8.484 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002433/0.1646, allocations: 1.167 MB / 0.5552 GB, free: 7.309 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001113/0.1647, allocations: 0 / 0.5552 GB, free: 7.309 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003395/0.165, allocations: 31.78 kB / 0.5552 GB, free: 7.277 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004776/0.1655, allocations: 83.62 kB / 0.5553 GB, free: 7.195 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004516/0.166, allocations: 103.7 kB / 0.5554 GB, free: 7.094 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002357/0.1662, allocations: 75.77 kB / 0.5555 GB, free: 7.02 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.1663, allocations: 19.88 kB / 0.5555 GB, free: 7 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.062e-05/0.1664, allocations: 23.86 kB / 0.5555 GB, free: 6.977 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001779/0.1666, allocations: 39.83 kB / 0.5555 GB, free: 6.938 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.904e-05/0.1666, allocations: 4 kB / 0.5555 GB, free: 6.934 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000237/0.1669, allocations: 91.94 kB / 0.5556 GB, free: 6.844 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.322e-05/0.1669, allocations: 15.92 kB / 0.5556 GB, free: 6.828 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.36e-05/0.167, allocations: 31.78 kB / 0.5557 GB, free: 6.797 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003763/0.1674, allocations: 135.5 kB / 0.5558 GB, free: 6.664 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.1674, allocations: 0 / 0.5558 GB, free: 6.664 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.1674, allocations: 4 kB / 0.5558 GB, free: 6.66 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.172e-06/0.1674, allocations: 0 / 0.5558 GB, free: 6.66 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.0007506/0.1681, allocations: 406.8 kB / 0.5562 GB, free: 6.215 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.278e-05/0.1682, allocations: 12.03 kB / 0.5562 GB, free: 6.203 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.212e-05/0.1682, allocations: 192 / 0.5562 GB, free: 6.203 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.621e-05/0.1682, allocations: 30.75 kB / 0.5562 GB, free: 6.164 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.802e-05/0.1683, allocations: 8.891 kB / 0.5562 GB, free: 6.156 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003094/0.1686, allocations: 202.1 kB / 0.5564 GB, free: 5.922 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.1686, allocations: 8.375 kB / 0.5564 GB, free: 5.914 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.643e-05/0.1687, allocations: 8.125 kB / 0.5564 GB, free: 5.906 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002047/0.1689, allocations: 63.39 kB / 0.5565 GB, free: 5.832 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.1689, allocations: 0 / 0.5565 GB, free: 5.832 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.632e-05/0.1689, allocations: 7.984 kB / 0.5565 GB, free: 5.824 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/0.1689, allocations: 0 / 0.5565 GB, free: 5.824 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001198/0.169, allocations: 19.98 kB / 0.5565 GB, free: 5.805 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005031/0.1695, allocations: 288.8 kB / 0.5568 GB, free: 5.473 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002453/0.1698, allocations: 42.56 kB / 0.5568 GB, free: 5.422 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.338e-05/0.1698, allocations: 16.94 kB / 0.5569 GB, free: 5.402 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.649e-05/0.1699, allocations: 0 / 0.5569 GB, free: 5.402 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.1699, allocations: 34.56 kB / 0.5569 GB, free: 5.359 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.1699, allocations: 4 kB / 0.5569 GB, free: 5.355 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007101/0.1706, allocations: 153.3 kB / 0.557 GB, free: 5.199 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.606e-05/0.1707, allocations: 77.11 kB / 0.5571 GB, free: 5.105 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001949/0.1709, allocations: 151.8 kB / 0.5573 GB, free: 4.949 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.201e-05/0.1709, allocations: 29.7 kB / 0.5573 GB, free: 4.914 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.075e-05/0.171, allocations: 92.08 kB / 0.5574 GB, free: 4.82 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.353e-05/0.171, allocations: 27.84 kB / 0.5574 GB, free: 4.793 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.94e-05/0.1711, allocations: 13.72 kB / 0.5574 GB, free: 4.773 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001704/0.1712, allocations: 326.8 kB / 0.5577 GB, free: 4.445 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.803e-05/0.1713, allocations: 24.05 kB / 0.5578 GB, free: 4.422 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.95e-05/0.1714, allocations: 33.7 kB / 0.5578 GB, free: 4.383 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001557/0.1716, allocations: 56.86 kB / 0.5578 GB, free: 4.324 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-06/0.1716, allocations: 0 / 0.5578 GB, free: 4.324 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002234/0.1718, allocations: 85.55 kB / 0.5579 GB, free: 4.234 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.1718, allocations: 8 kB / 0.5579 GB, free: 4.227 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.1718, allocations: 3.938 kB / 0.5579 GB, free: 4.223 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.1718, allocations: 0 / 0.5579 GB, free: 4.223 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.614e-05/0.1719, allocations: 15.92 kB / 0.558 GB, free: 4.207 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.1719, allocations: 4 kB / 0.558 GB, free: 4.203 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.918e-05/0.172, allocations: 15.88 kB / 0.558 GB, free: 4.188 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.172, allocations: 7.984 kB / 0.558 GB, free: 4.18 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.000117/0.1721, allocations: 116 kB / 0.5581 GB, free: 4.059 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.618e-05/0.1722, allocations: 7.953 kB / 0.5581 GB, free: 4.051 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002945/0.1725, allocations: 93.95 kB / 0.5582 GB, free: 3.949 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/0.1725, allocations: 4 kB / 0.5582 GB, free: 3.945 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1725, allocations: 0 / 0.5582 GB, free: 3.945 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.1725, allocations: 3.938 kB / 0.5582 GB, free: 3.941 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005421/0.173, allocations: 358.8 kB / 0.5585 GB, free: 3.535 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.173, allocations: 0 / 0.5585 GB, free: 3.535 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.125e-05/0.1731, allocations: 12 kB / 0.5585 GB, free: 3.523 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.1731, allocations: 4 kB / 0.5586 GB, free: 3.52 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.1731, allocations: 11.92 kB / 0.5586 GB, free: 3.508 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1731, allocations: 0 / 0.5586 GB, free: 3.508 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1731, allocations: 0 / 0.5586 GB, free: 3.508 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002848/0.1734, allocations: 191.4 kB / 0.5587 GB, free: 3.305 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.664e-05/0.1735, allocations: 81.06 kB / 0.5588 GB, free: 3.207 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.286e-05/0.1735, allocations: 7.938 kB / 0.5588 GB, free: 3.199 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.65e-05/0.1736, allocations: 4 kB / 0.5588 GB, free: 3.195 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.777e-05/0.1736, allocations: 7.984 kB / 0.5588 GB, free: 3.188 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.1736, allocations: 0 / 0.5588 GB, free: 3.188 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001065/0.1737, allocations: 117.3 kB / 0.559 GB, free: 3.074 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1737, allocations: 0 / 0.559 GB, free: 3.074 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003009/0.174, allocations: 39.86 kB / 0.559 GB, free: 3.035 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.002352/0.1763, allocations: 1.108 MB / 0.5601 GB, free: 2.094 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002505/0.1766, allocations: 47.97 kB / 0.5601 GB, free: 2.047 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1766, allocations: 0 / 0.5601 GB, free: 2.047 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.158e-05/0.1767, allocations: 31.91 kB / 0.5602 GB, free: 2.016 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004094/0.1771, allocations: 12.56 kB / 0.5602 GB, free: 2.004 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002031/0.1791, allocations: 1.459 MB / 0.5616 GB, free: 476 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004061/0.1795, allocations: 0.6924 MB / 0.5623 GB, free: 15.75 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.246e-05/0.1796, allocations: 23.98 kB / 0.5623 GB, free: 15.72 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.416e-05/0.1797, allocations: 27.42 kB / 0.5623 GB, free: 15.7 MB / 430.1 MB Notification: Performance of SimCode: time 6.91e-07/0.1797, allocations: 0 / 0.5623 GB, free: 15.7 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02254/0.2022, allocations: 3.312 MB / 0.5655 GB, free: 12.41 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.424/8.626, allocations: 9 kB / 0.5656 GB, free: 12.4 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test21_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test21.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.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: 12.101859431015328]