Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.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.0007625/0.0007625, allocations: 83.7 kB / 20.67 MB, free: 3.883 MB / 18.57 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.0008384/0.0008384, allocations: 173.3 kB / 23.95 MB, free: 0.6016 MB / 18.57 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 0.8667/0.8667, allocations: 177.1 MB / 204.3 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.2277/0.2277, allocations: 34.25 MB / 294.9 MB, free: 0.7148 MB / 266.7 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.CombiTable1Dv.Test4,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test4,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 442.2 MB, free: 1.664 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.327e-05/2.523e-05, allocations: 5.656 kB / 442.2 MB, free: 1.66 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.002335/0.00236, allocations: 1.638 MB / 443.8 MB, free: 8 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1601/0.1625, allocations: 0.5422 MB / 444.4 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.455e-05/0.1625, allocations: 0 / 444.4 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002432/0.1628, allocations: 94.72 kB / 444.5 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002523/0.163, allocations: 114.6 kB / 444.6 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002237/0.1633, allocations: 124.1 kB / 444.7 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001457/0.1634, allocations: 97.38 kB / 444.8 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.1635, allocations: 23.88 kB / 444.8 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.457e-05/0.1636, allocations: 55.31 kB / 444.9 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.948e-05/0.1637, allocations: 62.5 kB / 444.9 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.468e-05/0.1637, allocations: 2.844 kB / 444.9 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.253e-05/0.1638, allocations: 53.8 kB / 445 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.153e-05/0.1638, allocations: 31.88 kB / 445 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.933e-05/0.1638, allocations: 21.89 kB / 445.1 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001639/0.164, allocations: 132.2 kB / 445.2 MB, free: 43.07 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.164, allocations: 0 / 445.2 MB, free: 43.07 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.143e-06/0.164, allocations: 0.7188 kB / 445.2 MB, free: 43.07 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.164, allocations: 0 / 445.2 MB, free: 43.07 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000355/0.1644, allocations: 359.8 kB / 445.5 MB, free: 42.76 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.1644, allocations: 8.781 kB / 445.5 MB, free: 42.76 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.675e-05/0.1644, allocations: 40.91 kB / 445.6 MB, free: 42.72 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.891e-05/0.1645, allocations: 14.75 kB / 445.6 MB, free: 42.71 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/0.1646, allocations: 157.4 kB / 445.7 MB, free: 42.56 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.316e-06/0.1646, allocations: 7.125 kB / 445.8 MB, free: 42.56 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.876e-05/0.1646, allocations: 9.938 kB / 445.8 MB, free: 42.56 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000112/0.1647, allocations: 71.62 kB / 445.8 MB, free: 42.53 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.1647, allocations: 192 / 445.8 MB, free: 42.53 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-06/0.1647, allocations: 6.844 kB / 445.8 MB, free: 42.53 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.1647, allocations: 0 / 445.8 MB, free: 42.53 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.704e-05/0.1648, allocations: 47.75 kB / 445.9 MB, free: 42.53 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002828/0.1651, allocations: 314.4 kB / 446.2 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.052e-05/0.1652, allocations: 63.28 kB / 446.3 MB, free: 42.26 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.132e-05/0.1652, allocations: 32 kB / 446.3 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.169e-05/0.1652, allocations: 2.781 kB / 446.3 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.278e-05/0.1652, allocations: 33.89 kB / 446.3 MB, free: 42.21 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 9.01e-07/0.1652, allocations: 0 / 446.3 MB, free: 42.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006116/0.1659, allocations: 329.1 kB / 446.6 MB, free: 42.15 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.022e-05/0.1659, allocations: 58.69 kB / 446.7 MB, free: 42.08 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.166, allocations: 233.6 kB / 446.9 MB, free: 41.98 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.603e-06/0.166, allocations: 28.58 kB / 447 MB, free: 41.95 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.076e-05/0.166, allocations: 119.9 kB / 447.1 MB, free: 41.86 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.167e-05/0.1661, allocations: 43.06 kB / 447.1 MB, free: 41.83 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.19e-05/0.1661, allocations: 28.53 kB / 447.1 MB, free: 41.81 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.755e-05/0.1661, allocations: 330.7 kB / 447.5 MB, free: 41.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.467e-05/0.1662, allocations: 39 kB / 447.5 MB, free: 41.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.745e-05/0.1662, allocations: 55.03 kB / 447.6 MB, free: 41.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001066/0.1663, allocations: 112.5 kB / 447.7 MB, free: 41.48 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.1663, allocations: 0 / 447.7 MB, free: 41.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001468/0.1665, allocations: 155.1 kB / 447.8 MB, free: 41.45 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.1665, allocations: 5.312 kB / 447.8 MB, free: 41.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.1665, allocations: 3.938 kB / 447.8 MB, free: 41.44 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.1665, allocations: 0 / 447.8 MB, free: 41.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.675e-05/0.1666, allocations: 30.7 kB / 447.9 MB, free: 41.44 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.1666, allocations: 10.28 kB / 447.9 MB, free: 41.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.188e-05/0.1666, allocations: 6.344 kB / 447.9 MB, free: 41.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.1666, allocations: 8.062 kB / 447.9 MB, free: 41.43 MB / 410.7 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 (13): * Single equations (assignments): 13 * 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 5.809e-05/0.1667, allocations: 134.4 kB / 448 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.856e-05/0.1667, allocations: 16.38 kB / 448 MB, free: 41.31 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000212/0.1669, allocations: 187.8 kB / 448.2 MB, free: 41.24 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.1669, allocations: 0 / 448.2 MB, free: 41.24 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.1669, allocations: 3.938 kB / 448.2 MB, free: 41.23 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.1669, allocations: 4 kB / 448.2 MB, free: 41.23 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003342/0.1672, allocations: 471.7 kB / 448.7 MB, free: 40.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.1672, allocations: 3.188 kB / 448.7 MB, free: 40.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.868e-05/0.1673, allocations: 23.64 kB / 448.7 MB, free: 40.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.1673, allocations: 0 / 448.7 MB, free: 40.88 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-06/0.1673, allocations: 6.125 kB / 448.7 MB, free: 40.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1673, allocations: 0 / 448.7 MB, free: 40.88 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.1673, allocations: 6.844 kB / 448.7 MB, free: 40.88 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001437/0.1675, allocations: 258.1 kB / 449 MB, free: 40.69 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.106e-05/0.1675, allocations: 17.05 kB / 449 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.188e-05/0.1675, allocations: 0 / 449 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.745e-05/0.1675, allocations: 6.906 kB / 449 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.717e-05/0.1675, allocations: 12.14 kB / 449 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.1675, allocations: 2.906 kB / 449 MB, free: 40.68 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.142e-05/0.1676, allocations: 184.7 kB / 449.2 MB, free: 40.57 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1676, allocations: 0 / 449.2 MB, free: 40.57 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001714/0.1678, allocations: 27.5 kB / 449.2 MB, free: 40.57 MB / 410.7 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 (13): * Single equations (assignments): 13 * 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.000879/0.1687, allocations: 1.182 MB / 450.4 MB, free: 39.77 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001637/0.1688, allocations: 112.1 kB / 450.5 MB, free: 39.74 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1688, allocations: 4 kB / 450.5 MB, free: 39.73 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.372e-05/0.1689, allocations: 55.25 kB / 450.6 MB, free: 39.72 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002519/0.1691, allocations: 22.06 kB / 450.6 MB, free: 39.71 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001081/0.1702, allocations: 1.92 MB / 452.5 MB, free: 38.29 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.342e-05/0.1703, allocations: 118.1 kB / 452.6 MB, free: 38.21 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.285e-05/0.1703, allocations: 25.25 kB / 452.7 MB, free: 38.2 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.192e-05/0.1704, allocations: 51.73 kB / 452.7 MB, free: 38.17 MB / 410.7 MB Notification: Performance of SimCode: time 5.41e-07/0.1704, allocations: 4 kB / 452.7 MB, free: 38.17 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01459/0.185, allocations: 4.313 MB / 457 MB, free: 36.77 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.695/6.88, allocations: 6.75 kB / 457 MB, free: 36.77 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test4_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test4.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.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: 8.769032104872167]