Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0008698/0.0008698, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.001436/0.001436, allocations: 170 kB / 23.95 MB, free: 0.6094 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.8799/0.8799, allocations: 177.1 MB / 204.3 MB, free: 5.715 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.2386/0.2386, allocations: 34.25 MB / 294.9 MB, free: 0.7266 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.Test21,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test21,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 442.2 MB, free: 1.652 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.831e-05/1.985e-05, allocations: 2.281 kB / 442.2 MB, free: 1.648 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.002366/0.002386, allocations: 1.594 MB / 443.8 MB, free: 44 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1618/0.1642, allocations: 1.246 MB / 445 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.167e-05/0.1642, allocations: 2.594 kB / 445 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001871/0.1644, allocations: 21.62 kB / 445.1 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002212/0.1646, allocations: 92.09 kB / 445.1 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001873/0.1648, allocations: 114.7 kB / 445.3 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001082/0.1649, allocations: 74.19 kB / 445.3 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.209e-05/0.165, allocations: 11.03 kB / 445.3 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.076e-05/0.1651, allocations: 35.53 kB / 445.4 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.7e-05/0.1651, allocations: 27.86 kB / 445.4 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.382e-05/0.1652, allocations: 6.688 kB / 445.4 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.796e-05/0.1653, allocations: 87.64 kB / 445.5 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.721e-05/0.1653, allocations: 13.41 kB / 445.5 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.204e-05/0.1653, allocations: 15.89 kB / 445.5 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000158/0.1655, allocations: 142.5 kB / 445.7 MB, free: 43.07 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.1655, allocations: 0 / 445.7 MB, free: 43.07 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1655, allocations: 2.219 kB / 445.7 MB, free: 43.07 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.499e-06/0.1655, allocations: 2.938 kB / 445.7 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.00031/0.1658, allocations: 334.4 kB / 446 MB, free: 42.77 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.1658, allocations: 12.56 kB / 446 MB, free: 42.77 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.981e-05/0.1658, allocations: 33.62 kB / 446 MB, free: 42.73 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.85e-05/0.1659, allocations: 7.922 kB / 446 MB, free: 42.73 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/0.166, allocations: 132.9 kB / 446.2 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.334e-06/0.166, allocations: 3.188 kB / 446.2 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.393e-05/0.166, allocations: 384 / 446.2 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001022/0.1661, allocations: 94.5 kB / 446.3 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/0.1661, allocations: 4.125 kB / 446.3 MB, free: 42.49 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-06/0.1661, allocations: 7.562 kB / 446.3 MB, free: 42.49 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.1661, allocations: 5.031 kB / 446.3 MB, free: 42.49 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.597e-05/0.1662, allocations: 22.38 kB / 446.3 MB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002195/0.1664, allocations: 246.4 kB / 446.6 MB, free: 42.24 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001358/0.1665, allocations: 47.03 kB / 446.6 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.459e-05/0.1666, allocations: 23.61 kB / 446.6 MB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.729e-05/0.1666, allocations: 2.969 kB / 446.6 MB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.035e-05/0.1666, allocations: 30.56 kB / 446.7 MB, free: 42.16 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.1666, allocations: 0 / 446.7 MB, free: 42.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003429/0.1669, allocations: 156.1 kB / 446.8 MB, free: 42.09 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.632e-05/0.167, allocations: 79.73 kB / 446.9 MB, free: 41.99 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.843e-05/0.167, allocations: 145.1 kB / 447 MB, free: 41.88 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.831e-06/0.167, allocations: 25.7 kB / 447.1 MB, free: 41.85 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.479e-05/0.1671, allocations: 100.2 kB / 447.1 MB, free: 41.76 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.489e-05/0.1671, allocations: 19.8 kB / 447.2 MB, free: 41.74 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.347e-05/0.1671, allocations: 15.09 kB / 447.2 MB, free: 41.72 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.738e-05/0.1671, allocations: 324.7 kB / 447.5 MB, free: 41.4 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.549e-05/0.1672, allocations: 23.52 kB / 447.5 MB, free: 41.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.885e-05/0.1672, allocations: 61.44 kB / 447.6 MB, free: 41.34 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.648e-05/0.1673, allocations: 56.8 kB / 447.6 MB, free: 41.32 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1673, allocations: 0 / 447.6 MB, free: 41.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.486e-05/0.1674, allocations: 86.66 kB / 447.7 MB, free: 41.27 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.1674, allocations: 5.531 kB / 447.7 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.1674, allocations: 2.656 kB / 447.7 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.1674, allocations: 0 / 447.7 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.801e-05/0.1674, allocations: 11.84 kB / 447.7 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.1674, allocations: 0 / 447.7 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.421e-05/0.1675, allocations: 12.44 kB / 447.8 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.1e-06/0.1675, allocations: 4.812 kB / 447.8 MB, free: 41.27 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 (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 4.186e-05/0.1675, allocations: 120.2 kB / 447.9 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.708e-05/0.1675, allocations: 14.73 kB / 447.9 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001355/0.1677, allocations: 96.17 kB / 448 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1677, allocations: 3.062 kB / 448 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1677, allocations: 3.938 kB / 448 MB, free: 41.08 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.1677, allocations: 7.016 kB / 448 MB, free: 41.08 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002157/0.1679, allocations: 327.4 kB / 448.3 MB, free: 40.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1679, allocations: 2.656 kB / 448.3 MB, free: 40.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.597e-05/0.1679, allocations: 11.34 kB / 448.3 MB, free: 40.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.1679, allocations: 3.938 kB / 448.3 MB, free: 40.78 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.1679, allocations: 2.781 kB / 448.3 MB, free: 40.78 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-07/0.1679, allocations: 0 / 448.3 MB, free: 40.78 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1679, allocations: 0 / 448.3 MB, free: 40.78 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.651e-05/0.168, allocations: 182.1 kB / 448.5 MB, free: 40.63 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.005e-06/0.168, allocations: 10.06 kB / 448.5 MB, free: 40.63 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.179e-05/0.168, allocations: 8 kB / 448.5 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.61e-05/0.1681, allocations: 2.812 kB / 448.5 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.482e-05/0.1681, allocations: 9.828 kB / 448.5 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.1681, allocations: 0 / 448.5 MB, free: 40.62 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.29e-05/0.1682, allocations: 113.2 kB / 448.7 MB, free: 40.53 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1682, allocations: 2.656 kB / 448.7 MB, free: 40.53 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000184/0.1683, allocations: 39.36 kB / 448.7 MB, free: 40.52 MB / 410.7 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.0008777/0.1692, allocations: 1.148 MB / 449.8 MB, free: 39.75 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001141/0.1693, allocations: 50.22 kB / 449.9 MB, free: 39.73 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1693, allocations: 3 kB / 449.9 MB, free: 39.73 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.341e-05/0.1694, allocations: 25.72 kB / 449.9 MB, free: 39.73 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002416/0.1696, allocations: 29.59 kB / 450 MB, free: 39.71 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008102/0.1704, allocations: 1.451 MB / 451.4 MB, free: 38.45 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.281e-05/0.1705, allocations: 84.28 kB / 451.5 MB, free: 38.38 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.314e-05/0.1705, allocations: 15.5 kB / 451.5 MB, free: 38.38 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.272e-05/0.1706, allocations: 28.44 kB / 451.5 MB, free: 38.37 MB / 410.7 MB Notification: Performance of SimCode: time 7.02e-07/0.1706, allocations: 3.938 kB / 451.5 MB, free: 38.36 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01573/0.1863, allocations: 4.007 MB / 455.5 MB, free: 36.92 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.529/6.715, allocations: 12.58 kB / 455.6 MB, free: 36.92 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test21_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test21.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 8.651872367598116]