Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.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.001786/0.001786, allocations: 115.6 kB / 20.43 MB, free: 1.457 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.002839/0.002839, allocations: 213.6 kB / 23.75 MB, free: 4.668 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.546/1.546, allocations: 230.6 MB / 257.5 MB, free: 7.992 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.2295/0.2295, allocations: 44.92 MB / 358.8 MB, free: 6.266 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.Test27,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test27,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test27",fmuType="me",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.002275/0.002275, allocations: 63.91 kB / 0.4931 GB, free: 10.69 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3518/0.3541, allocations: 65.47 MB / 0.557 GB, free: 7.527 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test27): time 0.003524/0.3576, allocations: 1.634 MB / 0.5586 GB, free: 6.113 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001176/0.3588, allocations: 0.566 MB / 0.5592 GB, free: 5.543 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.456e-05/0.3589, allocations: 4 kB / 0.5592 GB, free: 5.539 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003774/0.3592, allocations: 127.6 kB / 0.5593 GB, free: 5.414 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003308/0.3596, allocations: 123.5 kB / 0.5594 GB, free: 5.293 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003718/0.3599, allocations: 115.2 kB / 0.5595 GB, free: 5.184 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002217/0.3602, allocations: 99.73 kB / 0.5596 GB, free: 5.086 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.3603, allocations: 13.81 kB / 0.5597 GB, free: 5.074 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.894e-05/0.3604, allocations: 51.81 kB / 0.5597 GB, free: 5.023 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001959/0.3606, allocations: 99.7 kB / 0.5598 GB, free: 4.926 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.807e-05/0.3606, allocations: 4 kB / 0.5598 GB, free: 4.922 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001117/0.3607, allocations: 43.98 kB / 0.5598 GB, free: 4.879 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.1e-05/0.3608, allocations: 27.91 kB / 0.5599 GB, free: 4.852 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.809e-05/0.3608, allocations: 39.67 kB / 0.5599 GB, free: 4.812 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002642/0.3611, allocations: 123.4 kB / 0.56 GB, free: 4.691 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.3611, allocations: 0 / 0.56 GB, free: 4.691 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3611, allocations: 3.938 kB / 0.56 GB, free: 4.688 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.167e-05/0.3611, allocations: 3.938 kB / 0.56 GB, free: 4.684 MB / 398.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.0005917/0.3617, allocations: 369.3 kB / 0.5604 GB, free: 4.293 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.3617, allocations: 12.03 kB / 0.5604 GB, free: 4.281 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.852e-05/0.3618, allocations: 34.75 kB / 0.5604 GB, free: 4.238 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.929e-05/0.3618, allocations: 16.84 kB / 0.5604 GB, free: 4.223 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002145/0.362, allocations: 162.4 kB / 0.5606 GB, free: 4.039 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.362, allocations: 4.375 kB / 0.5606 GB, free: 4.035 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.158e-05/0.3621, allocations: 384 / 0.5606 GB, free: 4.035 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001594/0.3622, allocations: 61.61 kB / 0.5607 GB, free: 3.969 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.3622, allocations: 4 kB / 0.5607 GB, free: 3.965 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.286e-06/0.3623, allocations: 0 / 0.5607 GB, free: 3.965 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.3623, allocations: 3.938 kB / 0.5607 GB, free: 3.961 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.372e-05/0.3624, allocations: 23.98 kB / 0.5607 GB, free: 3.938 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004398/0.3628, allocations: 275.9 kB / 0.561 GB, free: 3.625 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001282/0.3629, allocations: 50.48 kB / 0.561 GB, free: 3.566 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.279e-05/0.363, allocations: 20.86 kB / 0.561 GB, free: 3.543 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.34e-05/0.363, allocations: 4.062 kB / 0.561 GB, free: 3.539 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.02e-05/0.363, allocations: 34.64 kB / 0.5611 GB, free: 3.496 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.363, allocations: 0 / 0.5611 GB, free: 3.496 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009668/0.364, allocations: 257.4 kB / 0.5613 GB, free: 3.238 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.558e-05/0.364, allocations: 55.34 kB / 0.5614 GB, free: 3.172 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003172/0.3644, allocations: 275.8 kB / 0.5616 GB, free: 2.883 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.107e-05/0.3644, allocations: 25.7 kB / 0.5616 GB, free: 2.852 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.786e-05/0.3645, allocations: 112.1 kB / 0.5618 GB, free: 2.738 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.948e-05/0.3645, allocations: 31.73 kB / 0.5618 GB, free: 2.707 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.263e-05/0.3645, allocations: 21.72 kB / 0.5618 GB, free: 2.68 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001891/0.3647, allocations: 330.8 kB / 0.5621 GB, free: 2.348 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.582e-05/0.3648, allocations: 35.97 kB / 0.5622 GB, free: 2.312 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.326e-05/0.3649, allocations: 23.98 kB / 0.5622 GB, free: 2.289 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001764/0.3651, allocations: 88.95 kB / 0.5623 GB, free: 2.199 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.3651, allocations: 0 / 0.5623 GB, free: 2.199 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002444/0.3653, allocations: 117.6 kB / 0.5624 GB, free: 2.078 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.3653, allocations: 4 kB / 0.5624 GB, free: 2.074 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.3654, allocations: 0 / 0.5624 GB, free: 2.074 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.3654, allocations: 0 / 0.5624 GB, free: 2.074 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.3655, allocations: 19.98 kB / 0.5624 GB, free: 2.055 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.353e-06/0.3655, allocations: 3.938 kB / 0.5624 GB, free: 2.051 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.592e-05/0.3655, allocations: 7.984 kB / 0.5624 GB, free: 2.043 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.3655, allocations: 0 / 0.5624 GB, free: 2.043 MB / 398.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.0001359/0.3657, allocations: 143 kB / 0.5625 GB, free: 1.895 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.602e-05/0.3657, allocations: 19.91 kB / 0.5626 GB, free: 1.875 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003027/0.366, allocations: 131 kB / 0.5627 GB, free: 1.738 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.366, allocations: 7.938 kB / 0.5627 GB, free: 1.73 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.366, allocations: 3.938 kB / 0.5627 GB, free: 1.727 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.366, allocations: 0 / 0.5627 GB, free: 1.727 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005924/0.3666, allocations: 402.3 kB / 0.5631 GB, free: 1.281 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.3666, allocations: 0 / 0.5631 GB, free: 1.281 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.677e-05/0.3667, allocations: 27.86 kB / 0.5631 GB, free: 1.254 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.3667, allocations: 0 / 0.5631 GB, free: 1.254 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.836e-06/0.3667, allocations: 0 / 0.5631 GB, free: 1.254 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.3667, allocations: 4 kB / 0.5631 GB, free: 1.25 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.3667, allocations: 0 / 0.5631 GB, free: 1.25 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003047/0.367, allocations: 216.3 kB / 0.5633 GB, free: 1.02 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.289e-05/0.367, allocations: 15.84 kB / 0.5633 GB, free: 1.004 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.248e-05/0.3671, allocations: 8 kB / 0.5633 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.585e-05/0.3671, allocations: 11.92 kB / 0.5634 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.254e-05/0.3672, allocations: 3.938 kB / 0.5634 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.446e-06/0.3672, allocations: 4 kB / 0.5634 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002079/0.3674, allocations: 216.1 kB / 0.5636 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3674, allocations: 0 / 0.5636 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002728/0.3677, allocations: 27.94 kB / 0.5636 GB, free: 0.7383 MB / 398.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.002234/0.3699, allocations: 1.108 MB / 0.5647 GB, free: 15.79 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002385/0.3701, allocations: 75.89 kB / 0.5648 GB, free: 15.71 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3701, allocations: 0 / 0.5648 GB, free: 15.71 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001003/0.3702, allocations: 39.97 kB / 0.5648 GB, free: 15.68 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003811/0.3706, allocations: 23.77 kB / 0.5648 GB, free: 15.65 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002356/0.373, allocations: 1.855 MB / 0.5666 GB, free: 13.71 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004224/0.3734, allocations: 0.7236 MB / 0.5673 GB, free: 12.96 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.362e-05/0.3735, allocations: 20.95 kB / 0.5674 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.689e-05/0.3736, allocations: 43.41 kB / 0.5674 GB, free: 12.89 MB / 414.1 MB Notification: Performance of SimCode: time 4.2e-07/0.3736, allocations: 0 / 0.5674 GB, free: 12.89 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03085/0.4044, allocations: 3.625 MB / 0.5709 GB, free: 9.328 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.43, allocations: 11.3 kB / 0.5709 GB, free: 9.32 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test27_fmu --startTime=0 --stopTime=15 --stepSize=0.0029988 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test27.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.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: 14.54882180900313]