Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.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.001307/0.001307, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001434/0.001434, allocations: 215.9 kB / 23.73 MB, free: 4.16 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.537/1.537, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.2348/0.2348, allocations: 44.92 MB / 358.8 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.CombiTable2Dv.Test25,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test25",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test25,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test25",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.002091/0.002091, allocations: 67.91 kB / 0.493 GB, free: 10.51 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3351/0.3372, allocations: 65.48 MB / 0.557 GB, free: 7.344 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test25): time 0.003185/0.3404, allocations: 1.673 MB / 0.5586 GB, free: 5.855 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001205/0.3416, allocations: 0.5582 MB / 0.5592 GB, free: 5.293 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.011e-05/0.3416, allocations: 4 kB / 0.5592 GB, free: 5.289 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002946/0.3419, allocations: 51.8 kB / 0.5592 GB, free: 5.238 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003965/0.3423, allocations: 95.59 kB / 0.5593 GB, free: 5.145 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005409/0.3429, allocations: 179.1 kB / 0.5595 GB, free: 4.973 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000233/0.3431, allocations: 95.73 kB / 0.5596 GB, free: 4.879 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001429/0.3432, allocations: 10.06 kB / 0.5596 GB, free: 4.867 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.306e-05/0.3433, allocations: 39.78 kB / 0.5596 GB, free: 4.828 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001207/0.3434, allocations: 47.83 kB / 0.5597 GB, free: 4.781 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.041e-05/0.3435, allocations: 7.938 kB / 0.5597 GB, free: 4.773 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001501/0.3436, allocations: 55.97 kB / 0.5597 GB, free: 4.719 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.913e-05/0.3437, allocations: 23.91 kB / 0.5598 GB, free: 4.695 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.946e-05/0.3437, allocations: 31.81 kB / 0.5598 GB, free: 4.664 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002788/0.344, allocations: 119.4 kB / 0.5599 GB, free: 4.547 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.344, allocations: 0 / 0.5599 GB, free: 4.547 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.344, allocations: 0 / 0.5599 GB, free: 4.547 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.275e-05/0.344, allocations: 0 / 0.5599 GB, free: 4.547 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006392/0.3447, allocations: 345.6 kB / 0.5602 GB, free: 4.18 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/0.3447, allocations: 8.031 kB / 0.5602 GB, free: 4.172 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.381e-05/0.3448, allocations: 38.69 kB / 0.5603 GB, free: 4.125 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.61e-05/0.3448, allocations: 20.84 kB / 0.5603 GB, free: 4.105 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002416/0.3451, allocations: 142.3 kB / 0.5604 GB, free: 3.941 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.474e-06/0.3451, allocations: 384 / 0.5604 GB, free: 3.941 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.164e-05/0.3451, allocations: 8.375 kB / 0.5604 GB, free: 3.934 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002123/0.3453, allocations: 73.53 kB / 0.5605 GB, free: 3.855 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.3453, allocations: 0 / 0.5605 GB, free: 3.855 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.3453, allocations: 0 / 0.5605 GB, free: 3.855 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.3453, allocations: 3.938 kB / 0.5605 GB, free: 3.852 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001603/0.3455, allocations: 47.95 kB / 0.5606 GB, free: 3.805 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005528/0.3461, allocations: 287.8 kB / 0.5608 GB, free: 3.48 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002525/0.3463, allocations: 54.55 kB / 0.5609 GB, free: 3.418 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.576e-05/0.3464, allocations: 32.95 kB / 0.5609 GB, free: 3.383 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.3464, allocations: 0 / 0.5609 GB, free: 3.383 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/0.3464, allocations: 38.59 kB / 0.5609 GB, free: 3.336 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 8.12e-07/0.3464, allocations: 0 / 0.5609 GB, free: 3.336 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001565/0.348, allocations: 429.3 kB / 0.5614 GB, free: 2.91 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.641e-05/0.3481, allocations: 55.39 kB / 0.5614 GB, free: 2.844 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002124/0.3483, allocations: 182.2 kB / 0.5616 GB, free: 2.652 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.061e-05/0.3483, allocations: 25.7 kB / 0.5616 GB, free: 2.621 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.668e-05/0.3484, allocations: 104.1 kB / 0.5617 GB, free: 2.516 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.914e-05/0.3484, allocations: 43.58 kB / 0.5617 GB, free: 2.473 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.328e-05/0.3485, allocations: 29.66 kB / 0.5618 GB, free: 2.438 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001961/0.3487, allocations: 326.8 kB / 0.5621 GB, free: 2.109 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001572/0.3489, allocations: 59.95 kB / 0.5621 GB, free: 2.051 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001391/0.349, allocations: 51.95 kB / 0.5622 GB, free: 2 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003068/0.3493, allocations: 128.7 kB / 0.5623 GB, free: 1.871 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.3493, allocations: 0 / 0.5623 GB, free: 1.871 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003759/0.3497, allocations: 173.8 kB / 0.5625 GB, free: 1.695 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.3497, allocations: 6.344 kB / 0.5625 GB, free: 1.691 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.3497, allocations: 0 / 0.5625 GB, free: 1.691 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.081e-05/0.3497, allocations: 3.938 kB / 0.5625 GB, free: 1.688 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001251/0.3499, allocations: 23.98 kB / 0.5625 GB, free: 1.664 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.3499, allocations: 0 / 0.5625 GB, free: 1.664 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.519e-05/0.3499, allocations: 11.98 kB / 0.5625 GB, free: 1.652 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.512e-05/0.35, allocations: 8 kB / 0.5625 GB, free: 1.645 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 (11): * Single equations (assignments): 11 * 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.0001321/0.3501, allocations: 129.8 kB / 0.5627 GB, free: 1.508 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.393e-05/0.3501, allocations: 15.91 kB / 0.5627 GB, free: 1.492 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004793/0.3506, allocations: 186.3 kB / 0.5629 GB, free: 1.301 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.3506, allocations: 3.938 kB / 0.5629 GB, free: 1.297 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.3506, allocations: 0 / 0.5629 GB, free: 1.297 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.3506, allocations: 0 / 0.5629 GB, free: 1.297 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007818/0.3514, allocations: 475 kB / 0.5633 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.3514, allocations: 96 / 0.5633 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001183/0.3515, allocations: 27.92 kB / 0.5633 GB, free: 0.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.3515, allocations: 3.938 kB / 0.5633 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.3515, allocations: 4 kB / 0.5633 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.3516, allocations: 3.984 kB / 0.5633 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3516, allocations: 4.062 kB / 0.5634 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004205/0.352, allocations: 273.1 kB / 0.5636 GB, free: 456 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.687e-05/0.352, allocations: 12.09 kB / 0.5636 GB, free: 444 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.378e-05/0.352, allocations: 4 kB / 0.5636 GB, free: 440 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.3521, allocations: 15.98 kB / 0.5636 GB, free: 424 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.871e-05/0.3522, allocations: 11.92 kB / 0.5637 GB, free: 412 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.3522, allocations: 4 kB / 0.5637 GB, free: 408 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001454/0.3523, allocations: 148 kB / 0.5638 GB, free: 260 kB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3523, allocations: 3.938 kB / 0.5638 GB, free: 256 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002759/0.3526, allocations: 27.94 kB / 0.5638 GB, free: 228 kB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.002493/0.3551, allocations: 1.192 MB / 0.565 GB, free: 15.21 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004035/0.3555, allocations: 127.8 kB / 0.5651 GB, free: 15.09 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.3555, allocations: 0 / 0.5651 GB, free: 15.09 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001693/0.3557, allocations: 68.02 kB / 0.5652 GB, free: 15.02 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004121/0.3561, allocations: 18.67 kB / 0.5652 GB, free: 15.01 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002562/0.3587, allocations: 1.91 MB / 0.5671 GB, free: 13.01 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001045/0.3588, allocations: 104.7 kB / 0.5672 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.51e-05/0.3589, allocations: 28.47 kB / 0.5672 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.975e-05/0.3589, allocations: 35.42 kB / 0.5672 GB, free: 12.82 MB / 414.1 MB Notification: Performance of SimCode: time 7.32e-07/0.3589, allocations: 0 / 0.5672 GB, free: 12.82 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03067/0.3896, allocations: 4.026 MB / 0.5712 GB, free: 8.844 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.76, allocations: 10.55 kB / 0.5712 GB, free: 8.84 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test25_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test25.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test25/Test25.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.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.83010829705745]