Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20.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.001918/0.001918, 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.002433/0.002433, 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.554/1.554, allocations: 230.6 MB / 254.8 MB, free: 15.13 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.2397/0.2397, 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.CombiTable1Dv.Test20,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test20",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test20,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test20",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002954/0.002954, allocations: 63.91 kB / 0.4916 GB, free: 7.984 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.153, allocations: 65.99 MB / 0.5561 GB, free: 5.863 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test20): time 0.003271/0.1563, allocations: 1.602 MB / 0.5576 GB, free: 4.242 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002062/0.1584, allocations: 1.175 MB / 0.5588 GB, free: 3.059 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001091/0.1585, allocations: 3.938 kB / 0.5588 GB, free: 3.055 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000288/0.1588, allocations: 31.84 kB / 0.5588 GB, free: 3.023 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004311/0.1592, allocations: 79.62 kB / 0.5589 GB, free: 2.945 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004234/0.1596, allocations: 111.2 kB / 0.559 GB, free: 2.84 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002049/0.1598, allocations: 75.75 kB / 0.5591 GB, free: 2.766 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001293/0.16, allocations: 4 kB / 0.5591 GB, free: 2.762 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.737e-05/0.16, allocations: 31.86 kB / 0.5591 GB, free: 2.73 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001939/0.1602, allocations: 31.83 kB / 0.5591 GB, free: 2.699 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.368e-05/0.1603, allocations: 4 kB / 0.5592 GB, free: 2.695 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002573/0.1605, allocations: 99.88 kB / 0.5592 GB, free: 2.598 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.389e-05/0.1606, allocations: 15.92 kB / 0.5593 GB, free: 2.582 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.745e-05/0.1606, allocations: 27.81 kB / 0.5593 GB, free: 2.555 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003638/0.161, allocations: 143.5 kB / 0.5594 GB, free: 2.414 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.161, allocations: 0 / 0.5594 GB, free: 2.414 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.161, allocations: 0 / 0.5594 GB, free: 2.414 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.161, allocations: 0 / 0.5594 GB, free: 2.414 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.0007185/0.1617, allocations: 402.8 kB / 0.5598 GB, free: 1.973 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.119e-05/0.1618, allocations: 12.02 kB / 0.5598 GB, free: 1.961 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.882e-05/0.1618, allocations: 4.125 kB / 0.5598 GB, free: 1.957 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.941e-05/0.1618, allocations: 38.75 kB / 0.5599 GB, free: 1.91 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.394e-05/0.1619, allocations: 8.891 kB / 0.5599 GB, free: 1.902 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003134/0.1622, allocations: 196.2 kB / 0.5601 GB, free: 1.672 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.793e-06/0.1622, allocations: 384 / 0.5601 GB, free: 1.672 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.83e-05/0.1622, allocations: 4.125 kB / 0.5601 GB, free: 1.668 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001883/0.1624, allocations: 67.39 kB / 0.5601 GB, free: 1.59 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.1624, allocations: 0 / 0.5601 GB, free: 1.59 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.1625, allocations: 0 / 0.5601 GB, free: 1.59 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.1625, allocations: 0 / 0.5601 GB, free: 1.59 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001047/0.1626, allocations: 31.92 kB / 0.5602 GB, free: 1.559 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004857/0.1631, allocations: 288.8 kB / 0.5604 GB, free: 1.227 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002458/0.1633, allocations: 42.56 kB / 0.5605 GB, free: 1.176 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.465e-05/0.1634, allocations: 28.92 kB / 0.5605 GB, free: 1.145 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.071e-05/0.1634, allocations: 0 / 0.5605 GB, free: 1.145 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/0.1634, allocations: 38.5 kB / 0.5605 GB, free: 1.098 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 8.61e-07/0.1634, allocations: 0 / 0.5605 GB, free: 1.098 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006608/0.1641, allocations: 149.4 kB / 0.5607 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.377e-05/0.1642, allocations: 81.11 kB / 0.5608 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001932/0.1643, allocations: 152.1 kB / 0.5609 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/0.1644, allocations: 29.7 kB / 0.5609 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.174e-05/0.1644, allocations: 92.14 kB / 0.561 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.966e-05/0.1645, allocations: 19.78 kB / 0.561 GB, free: 0.543 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.187e-05/0.1645, allocations: 17.72 kB / 0.5611 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.1647, allocations: 318.8 kB / 0.5614 GB, free: 204 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.807e-05/0.1647, allocations: 27.91 kB / 0.5614 GB, free: 176 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.224e-05/0.1648, allocations: 33.89 kB / 0.5614 GB, free: 136 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001879/0.165, allocations: 56.83 kB / 0.5615 GB, free: 76 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.165, allocations: 0 / 0.5615 GB, free: 76 kB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002209/0.1652, allocations: 93.55 kB / 0.5616 GB, free: 15.98 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.1653, allocations: 4 kB / 0.5616 GB, free: 15.97 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.1653, allocations: 0 / 0.5616 GB, free: 15.97 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/0.1653, allocations: 0 / 0.5616 GB, free: 15.97 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.859e-05/0.1654, allocations: 15.98 kB / 0.5616 GB, free: 15.96 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.1654, allocations: 4.031 kB / 0.5616 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.783e-05/0.1654, allocations: 7.938 kB / 0.5616 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.072e-06/0.1654, allocations: 0 / 0.5616 GB, free: 15.95 MB / 430.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.0001191/0.1655, allocations: 120 kB / 0.5617 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.744e-05/0.1656, allocations: 7.953 kB / 0.5617 GB, free: 15.81 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002842/0.1659, allocations: 101.9 kB / 0.5618 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.776e-06/0.1659, allocations: 4 kB / 0.5618 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.1659, allocations: 0 / 0.5618 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/0.1659, allocations: 7.922 kB / 0.5618 GB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005701/0.1664, allocations: 354.5 kB / 0.5622 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1664, allocations: 0 / 0.5622 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.772e-05/0.1665, allocations: 12 kB / 0.5622 GB, free: 15.28 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.1665, allocations: 0 / 0.5622 GB, free: 15.28 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.1665, allocations: 3.938 kB / 0.5622 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.1665, allocations: 4.125 kB / 0.5622 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.123e-06/0.1665, allocations: 11.98 kB / 0.5622 GB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002927/0.1668, allocations: 179.5 kB / 0.5624 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.459e-05/0.1669, allocations: 89.05 kB / 0.5624 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.615e-05/0.1669, allocations: 3.938 kB / 0.5624 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.512e-05/0.167, allocations: 7.938 kB / 0.5625 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.025e-05/0.167, allocations: 3.984 kB / 0.5625 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.735e-06/0.167, allocations: 8 kB / 0.5625 GB, free: 14.94 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001252/0.1672, allocations: 107.3 kB / 0.5626 GB, free: 14.83 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1672, allocations: 0 / 0.5626 GB, free: 14.83 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000314/0.1675, allocations: 43.8 kB / 0.5626 GB, free: 14.79 MB / 430.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.002286/0.1698, allocations: 1.107 MB / 0.5637 GB, free: 13.85 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002349/0.17, allocations: 47.97 kB / 0.5637 GB, free: 13.8 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.17, allocations: 3.938 kB / 0.5637 GB, free: 13.8 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.064e-05/0.1701, allocations: 31.91 kB / 0.5638 GB, free: 13.77 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004004/0.1705, allocations: 17.75 kB / 0.5638 GB, free: 13.75 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002171/0.1727, allocations: 1.454 MB / 0.5652 GB, free: 12.22 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004514/0.1731, allocations: 0.6963 MB / 0.5659 GB, free: 11.5 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001035/0.1732, allocations: 24.23 kB / 0.5659 GB, free: 11.47 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.692e-05/0.1733, allocations: 27.42 kB / 0.5659 GB, free: 11.45 MB / 430.1 MB Notification: Performance of SimCode: time 6.62e-07/0.1733, allocations: 0 / 0.5659 GB, free: 11.45 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02385/0.1971, allocations: 3.296 MB / 0.5692 GB, free: 8.164 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.487/8.685, allocations: 14.69 kB / 0.5692 GB, free: 8.156 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test20_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test20.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20.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.057113980001304]