Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test30.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.001262/0.001262, allocations: 116.2 kB / 18.49 MB, free: 4.559 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.00135/0.00135, allocations: 219 kB / 21.46 MB, free: 1.605 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.521/1.521, 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.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.2424/0.2424, allocations: 46.92 MB / 357.8 MB, free: 10.34 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.Test30,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test30",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test30,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test30",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002098/0.002098, allocations: 67.91 kB / 0.4916 GB, free: 7.953 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1514, allocations: 65.99 MB / 0.5561 GB, free: 5.832 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.005176/0.1566, allocations: 1.609 MB / 0.5577 GB, free: 4.211 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001744/0.1583, allocations: 0.5415 MB / 0.5582 GB, free: 3.664 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.09e-05/0.1584, allocations: 4 kB / 0.5582 GB, free: 3.66 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003367/0.1588, allocations: 83.7 kB / 0.5583 GB, free: 3.578 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004726/0.1592, allocations: 103.6 kB / 0.5584 GB, free: 3.477 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004412/0.1597, allocations: 91.69 kB / 0.5585 GB, free: 3.387 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002554/0.1599, allocations: 83.75 kB / 0.5585 GB, free: 3.305 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.1601, allocations: 11.98 kB / 0.5586 GB, free: 3.293 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001052/0.1602, allocations: 39.84 kB / 0.5586 GB, free: 3.254 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001778/0.1603, allocations: 59.81 kB / 0.5586 GB, free: 3.195 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.003e-05/0.1604, allocations: 4 kB / 0.5587 GB, free: 3.191 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001521/0.1605, allocations: 51.92 kB / 0.5587 GB, free: 3.141 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.809e-05/0.1606, allocations: 23.91 kB / 0.5587 GB, free: 3.117 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.929e-05/0.1607, allocations: 31.73 kB / 0.5588 GB, free: 3.086 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000339/0.161, allocations: 103.6 kB / 0.5589 GB, free: 2.984 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.161, allocations: 3.938 kB / 0.5589 GB, free: 2.98 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.161, allocations: 0 / 0.5589 GB, free: 2.98 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.231e-05/0.161, allocations: 0 / 0.5589 GB, free: 2.98 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.0007622/0.1618, allocations: 418.7 kB / 0.5593 GB, free: 2.523 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/0.1618, allocations: 12.03 kB / 0.5593 GB, free: 2.512 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.241e-05/0.1619, allocations: 8.125 kB / 0.5593 GB, free: 2.504 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.099e-05/0.1619, allocations: 30.75 kB / 0.5593 GB, free: 2.465 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.898e-05/0.1619, allocations: 12.84 kB / 0.5593 GB, free: 2.453 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003062/0.1623, allocations: 211.1 kB / 0.5595 GB, free: 2.207 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.966e-05/0.1623, allocations: 8.375 kB / 0.5595 GB, free: 2.199 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.074e-05/0.1623, allocations: 4.125 kB / 0.5595 GB, free: 2.195 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002104/0.1625, allocations: 61.64 kB / 0.5596 GB, free: 2.129 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.1625, allocations: 0 / 0.5596 GB, free: 2.129 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.1625, allocations: 4 kB / 0.5596 GB, free: 2.125 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-06/0.1626, allocations: 4 kB / 0.5596 GB, free: 2.121 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001554/0.1627, allocations: 27.92 kB / 0.5596 GB, free: 2.094 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005684/0.1633, allocations: 288.8 kB / 0.5599 GB, free: 1.762 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001683/0.1634, allocations: 42.56 kB / 0.5599 GB, free: 1.711 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.31e-05/0.1635, allocations: 12.86 kB / 0.56 GB, free: 1.695 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.383e-05/0.1636, allocations: 4 kB / 0.56 GB, free: 1.691 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.822e-05/0.1636, allocations: 42.58 kB / 0.56 GB, free: 1.641 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.432e-06/0.1636, allocations: 4 kB / 0.56 GB, free: 1.637 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.001323/0.1649, allocations: 213.3 kB / 0.5602 GB, free: 1.422 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.856e-05/0.165, allocations: 63.33 kB / 0.5603 GB, free: 1.348 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003599/0.1654, allocations: 218.3 kB / 0.5605 GB, free: 1.125 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.641e-05/0.1654, allocations: 29.64 kB / 0.5605 GB, free: 1.09 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000112/0.1655, allocations: 112.1 kB / 0.5606 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.403e-05/0.1655, allocations: 23.73 kB / 0.5606 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.015e-05/0.1656, allocations: 25.72 kB / 0.5607 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002156/0.1658, allocations: 322.8 kB / 0.561 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001347/0.166, allocations: 27.98 kB / 0.561 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001239/0.1661, allocations: 31.97 kB / 0.561 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002554/0.1663, allocations: 56.84 kB / 0.5611 GB, free: 492 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.1663, allocations: 0 / 0.5611 GB, free: 492 kB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003022/0.1666, allocations: 97.55 kB / 0.5612 GB, free: 388 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.1667, allocations: 8 kB / 0.5612 GB, free: 380 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.1667, allocations: 0 / 0.5612 GB, free: 380 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.1667, allocations: 4 kB / 0.5612 GB, free: 376 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001118/0.1668, allocations: 15.98 kB / 0.5612 GB, free: 360 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.1668, allocations: 7.938 kB / 0.5612 GB, free: 352 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.701e-05/0.1669, allocations: 4 kB / 0.5612 GB, free: 348 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.259e-05/0.1669, allocations: 7.984 kB / 0.5612 GB, free: 340 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.0001175/0.167, allocations: 128 kB / 0.5613 GB, free: 204 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.031e-05/0.167, allocations: 15.84 kB / 0.5613 GB, free: 188 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003237/0.1674, allocations: 127.3 kB / 0.5615 GB, free: 48 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.1674, allocations: 0 / 0.5615 GB, free: 48 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/0.1674, allocations: 8.359 kB / 0.5615 GB, free: 40 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.1674, allocations: 0 / 0.5615 GB, free: 40 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006211/0.168, allocations: 407.2 kB / 0.5619 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/0.168, allocations: 3.938 kB / 0.5619 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.472e-05/0.1681, allocations: 20.03 kB / 0.5619 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.1681, allocations: 0 / 0.5619 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.461e-05/0.1681, allocations: 11.97 kB / 0.5619 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.1681, allocations: 3.938 kB / 0.5619 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1681, allocations: 0 / 0.5619 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002957/0.1684, allocations: 196.3 kB / 0.5621 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.985e-05/0.1685, allocations: 96.95 kB / 0.5622 GB, free: 15.22 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.879e-05/0.1685, allocations: 0 / 0.5622 GB, free: 15.22 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.202e-05/0.1686, allocations: 8 kB / 0.5622 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.359e-05/0.1686, allocations: 7.984 kB / 0.5622 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.1686, allocations: 7.938 kB / 0.5622 GB, free: 15.2 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001553/0.1688, allocations: 168.2 kB / 0.5624 GB, free: 15.03 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1688, allocations: 0 / 0.5624 GB, free: 15.03 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002711/0.1691, allocations: 15.94 kB / 0.5624 GB, free: 15.02 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.002338/0.1714, allocations: 1.1 MB / 0.5635 GB, free: 14.08 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000267/0.1717, allocations: 63.89 kB / 0.5635 GB, free: 14.02 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.1717, allocations: 0 / 0.5635 GB, free: 14.02 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001063/0.1718, allocations: 39.97 kB / 0.5636 GB, free: 13.98 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003938/0.1722, allocations: 12.88 kB / 0.5636 GB, free: 13.96 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002226/0.1744, allocations: 1.688 MB / 0.5652 GB, free: 12.19 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003954/0.1748, allocations: 0.708 MB / 0.5659 GB, free: 11.46 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.762e-05/0.1748, allocations: 8.672 kB / 0.5659 GB, free: 11.45 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.905e-05/0.1749, allocations: 35.42 kB / 0.566 GB, free: 11.41 MB / 430.1 MB Notification: Performance of SimCode: time 6.71e-07/0.1749, allocations: 0 / 0.566 GB, free: 11.41 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0185/0.1934, allocations: 3.166 MB / 0.569 GB, free: 8.312 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.416/8.61, allocations: 11.5 kB / 0.5691 GB, free: 8.305 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test30_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test30.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test30.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.836292747990228]