Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.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.001337/0.001337, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001621/0.001621, allocations: 211.9 kB / 24.51 MB, free: 3.941 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.473/1.473, allocations: 230.6 MB / 258.3 MB, free: 7.777 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.2261/0.2261, allocations: 44.93 MB / 359.6 MB, free: 6.047 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.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test15",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test15",fmuType="cs",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.002042/0.002042, allocations: 63.91 kB / 0.4938 GB, free: 10.51 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3454/0.3474, allocations: 65.47 MB / 0.5577 GB, free: 7.324 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test15): time 0.003405/0.3509, allocations: 1.614 MB / 0.5593 GB, free: 5.879 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001023/0.3519, allocations: 0.5233 MB / 0.5598 GB, free: 5.352 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.022e-05/0.3519, allocations: 0 / 0.5598 GB, free: 5.352 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002789/0.3522, allocations: 75.77 kB / 0.5599 GB, free: 5.277 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002999/0.3525, allocations: 111.6 kB / 0.56 GB, free: 5.168 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00031/0.3528, allocations: 111.7 kB / 0.5601 GB, free: 5.059 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001697/0.353, allocations: 91.73 kB / 0.5602 GB, free: 4.969 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.3531, allocations: 17.77 kB / 0.5602 GB, free: 4.953 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.111e-05/0.3532, allocations: 39.83 kB / 0.5603 GB, free: 4.914 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001058/0.3533, allocations: 55.81 kB / 0.5603 GB, free: 4.859 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.642e-05/0.3533, allocations: 4 kB / 0.5603 GB, free: 4.855 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.528e-05/0.3534, allocations: 51.97 kB / 0.5604 GB, free: 4.805 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.72e-05/0.3534, allocations: 15.94 kB / 0.5604 GB, free: 4.789 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.924e-05/0.3535, allocations: 27.8 kB / 0.5604 GB, free: 4.762 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002307/0.3537, allocations: 115.4 kB / 0.5605 GB, free: 4.648 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3537, allocations: 0 / 0.5605 GB, free: 4.648 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3537, allocations: 0 / 0.5605 GB, free: 4.648 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.3537, allocations: 0 / 0.5605 GB, free: 4.648 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.000492/0.3542, allocations: 341.6 kB / 0.5608 GB, free: 4.285 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.3543, allocations: 8.031 kB / 0.5609 GB, free: 4.277 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.418e-05/0.3543, allocations: 192 / 0.5609 GB, free: 4.277 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.57e-05/0.3543, allocations: 42.75 kB / 0.5609 GB, free: 4.227 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.582e-05/0.3543, allocations: 12.84 kB / 0.5609 GB, free: 4.215 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001867/0.3545, allocations: 147 kB / 0.561 GB, free: 4.043 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.3545, allocations: 4.375 kB / 0.5611 GB, free: 4.039 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.56e-05/0.3546, allocations: 12.06 kB / 0.5611 GB, free: 4.027 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001537/0.3547, allocations: 53.67 kB / 0.5611 GB, free: 3.969 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.3547, allocations: 0 / 0.5611 GB, free: 3.969 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.735e-06/0.3547, allocations: 4 kB / 0.5611 GB, free: 3.965 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.3547, allocations: 0 / 0.5611 GB, free: 3.965 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.789e-05/0.3548, allocations: 23.98 kB / 0.5611 GB, free: 3.941 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004636/0.3553, allocations: 275.9 kB / 0.5614 GB, free: 3.629 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001184/0.3554, allocations: 46.5 kB / 0.5614 GB, free: 3.574 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.481e-05/0.3555, allocations: 20.94 kB / 0.5615 GB, free: 3.551 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.021e-05/0.3555, allocations: 0 / 0.5615 GB, free: 3.551 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.641e-05/0.3555, allocations: 34.5 kB / 0.5615 GB, free: 3.508 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.3555, allocations: 4 kB / 0.5615 GB, free: 3.504 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009044/0.3564, allocations: 245.5 kB / 0.5617 GB, free: 3.258 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.983e-05/0.3565, allocations: 55.34 kB / 0.5618 GB, free: 3.191 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002164/0.3567, allocations: 210.3 kB / 0.562 GB, free: 2.977 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/0.3567, allocations: 33.64 kB / 0.562 GB, free: 2.938 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.115e-05/0.3568, allocations: 108.1 kB / 0.5621 GB, free: 2.828 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.084e-05/0.3568, allocations: 27.75 kB / 0.5622 GB, free: 2.801 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.396e-05/0.3568, allocations: 21.7 kB / 0.5622 GB, free: 2.773 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.357, allocations: 322.8 kB / 0.5625 GB, free: 2.449 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.59e-05/0.3571, allocations: 31.98 kB / 0.5625 GB, free: 2.418 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.416e-05/0.3572, allocations: 40.03 kB / 0.5626 GB, free: 2.379 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001758/0.3573, allocations: 68.91 kB / 0.5626 GB, free: 2.309 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3573, allocations: 0 / 0.5626 GB, free: 2.309 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002415/0.3576, allocations: 113.5 kB / 0.5627 GB, free: 2.191 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.3576, allocations: 7.984 kB / 0.5627 GB, free: 2.184 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.3576, allocations: 4 kB / 0.5627 GB, free: 2.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.3576, allocations: 0 / 0.5627 GB, free: 2.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.3577, allocations: 23.92 kB / 0.5628 GB, free: 2.156 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.3577, allocations: 3.938 kB / 0.5628 GB, free: 2.152 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.495e-05/0.3578, allocations: 8 kB / 0.5628 GB, free: 2.145 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-06/0.3578, allocations: 0 / 0.5628 GB, free: 2.145 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 9.697e-05/0.3579, allocations: 125.8 kB / 0.5629 GB, free: 2.012 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.331e-05/0.3579, allocations: 19.91 kB / 0.5629 GB, free: 1.992 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003058/0.3582, allocations: 135 kB / 0.563 GB, free: 1.844 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.3582, allocations: 0 / 0.563 GB, free: 1.844 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.984e-06/0.3582, allocations: 3.938 kB / 0.563 GB, free: 1.84 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.3582, allocations: 0 / 0.563 GB, free: 1.84 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005672/0.3588, allocations: 382.4 kB / 0.5634 GB, free: 1.414 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.3588, allocations: 3.938 kB / 0.5634 GB, free: 1.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.907e-05/0.3589, allocations: 23.98 kB / 0.5634 GB, free: 1.387 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.3589, allocations: 3.938 kB / 0.5634 GB, free: 1.383 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.3589, allocations: 0 / 0.5634 GB, free: 1.383 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.3589, allocations: 8.031 kB / 0.5634 GB, free: 1.375 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3589, allocations: 0 / 0.5634 GB, free: 1.375 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002835/0.3592, allocations: 212.6 kB / 0.5636 GB, free: 1.148 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.911e-05/0.3592, allocations: 15.84 kB / 0.5637 GB, free: 1.133 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.895e-05/0.3592, allocations: 0 / 0.5637 GB, free: 1.133 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.597e-05/0.3593, allocations: 8 kB / 0.5637 GB, free: 1.125 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.148e-05/0.3593, allocations: 7.984 kB / 0.5637 GB, free: 1.117 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.296e-06/0.3593, allocations: 4 kB / 0.5637 GB, free: 1.113 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001544/0.3595, allocations: 168.2 kB / 0.5638 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3595, allocations: 4 kB / 0.5638 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000267/0.3598, allocations: 19.92 kB / 0.5639 GB, free: 0.9258 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.00243/0.3622, allocations: 1.14 MB / 0.565 GB, free: 15.97 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002525/0.3624, allocations: 75.89 kB / 0.5651 GB, free: 15.9 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3624, allocations: 3.938 kB / 0.5651 GB, free: 15.9 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.726e-05/0.3625, allocations: 31.92 kB / 0.5651 GB, free: 15.87 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003828/0.3629, allocations: 19.98 kB / 0.5651 GB, free: 15.85 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002118/0.365, allocations: 1.724 MB / 0.5668 GB, free: 14.04 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001209/0.3652, allocations: 92.81 kB / 0.5669 GB, free: 13.93 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.226e-05/0.3652, allocations: 20.95 kB / 0.5669 GB, free: 13.91 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.775e-05/0.3653, allocations: 43.42 kB / 0.5669 GB, free: 13.87 MB / 414.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3653, allocations: 0 / 0.5669 GB, free: 13.87 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0226/0.3879, allocations: 3.417 MB / 0.5703 GB, free: 10.51 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.76, allocations: 6.234 kB / 0.5703 GB, free: 10.5 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test15_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test15.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.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.942765433108434]