Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.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.001491/0.001491, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.001848/0.001848, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.474/1.474, allocations: 230.6 MB / 258.3 MB, free: 8 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.2235/0.2235, allocations: 44.91 MB / 359.6 MB, free: 6.281 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.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test3",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.002218/0.002218, allocations: 63.91 kB / 0.4939 GB, free: 10.7 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3864/0.3887, allocations: 65.47 MB / 0.5578 GB, free: 7.535 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.003334/0.392, allocations: 1.647 MB / 0.5594 GB, free: 6.133 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001081/0.3931, allocations: 0.5543 MB / 0.56 GB, free: 5.574 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.034e-05/0.3931, allocations: 7.938 kB / 0.56 GB, free: 5.566 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002733/0.3934, allocations: 75.77 kB / 0.56 GB, free: 5.492 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002824/0.3937, allocations: 103.6 kB / 0.5601 GB, free: 5.391 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003137/0.394, allocations: 111.7 kB / 0.5602 GB, free: 5.281 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001626/0.3942, allocations: 79.77 kB / 0.5603 GB, free: 5.203 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.387e-05/0.3943, allocations: 11.98 kB / 0.5603 GB, free: 5.191 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.394e-05/0.3943, allocations: 39.84 kB / 0.5604 GB, free: 5.152 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001101/0.3944, allocations: 55.81 kB / 0.5604 GB, free: 5.098 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.521e-05/0.3944, allocations: 4 kB / 0.5604 GB, free: 5.094 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001025/0.3946, allocations: 39.98 kB / 0.5605 GB, free: 5.055 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.342e-05/0.3946, allocations: 27.8 kB / 0.5605 GB, free: 5.027 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.47e-05/0.3947, allocations: 35.8 kB / 0.5605 GB, free: 4.992 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001926/0.3948, allocations: 107.5 kB / 0.5606 GB, free: 4.887 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3948, allocations: 3.938 kB / 0.5606 GB, free: 4.883 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.3948, allocations: 0 / 0.5606 GB, free: 4.883 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.3949, allocations: 0 / 0.5606 GB, free: 4.883 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.000546/0.3954, allocations: 337.7 kB / 0.561 GB, free: 4.523 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.3954, allocations: 12.03 kB / 0.561 GB, free: 4.512 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.519e-05/0.3955, allocations: 192 / 0.561 GB, free: 4.512 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.152e-05/0.3955, allocations: 30.75 kB / 0.561 GB, free: 4.473 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.741e-05/0.3955, allocations: 12.84 kB / 0.561 GB, free: 4.461 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002271/0.3958, allocations: 146.3 kB / 0.5611 GB, free: 4.293 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.145e-06/0.3958, allocations: 4.375 kB / 0.5612 GB, free: 4.289 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.43e-05/0.3958, allocations: 4.125 kB / 0.5612 GB, free: 4.285 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001576/0.3959, allocations: 61.61 kB / 0.5612 GB, free: 4.219 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.396, allocations: 4 kB / 0.5612 GB, free: 4.215 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/0.396, allocations: 0 / 0.5612 GB, free: 4.215 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.396, allocations: 0 / 0.5612 GB, free: 4.215 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001068/0.3961, allocations: 27.97 kB / 0.5612 GB, free: 4.188 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004662/0.3965, allocations: 275.8 kB / 0.5615 GB, free: 3.875 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001206/0.3967, allocations: 46.5 kB / 0.5616 GB, free: 3.82 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.93e-05/0.3967, allocations: 24.94 kB / 0.5616 GB, free: 3.793 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.081e-05/0.3967, allocations: 3.938 kB / 0.5616 GB, free: 3.789 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.761e-05/0.3968, allocations: 30.56 kB / 0.5616 GB, free: 3.75 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/0.3968, allocations: 0 / 0.5616 GB, free: 3.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009916/0.3978, allocations: 237.7 kB / 0.5618 GB, free: 3.512 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.44e-05/0.3978, allocations: 59.34 kB / 0.5619 GB, free: 3.441 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002191/0.398, allocations: 195.3 kB / 0.5621 GB, free: 3.234 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.231e-05/0.3981, allocations: 29.7 kB / 0.5621 GB, free: 3.199 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.875e-05/0.3981, allocations: 104.1 kB / 0.5622 GB, free: 3.094 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.217e-05/0.3982, allocations: 35.8 kB / 0.5622 GB, free: 3.059 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.474e-05/0.3982, allocations: 21.72 kB / 0.5623 GB, free: 3.031 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.3984, allocations: 326.8 kB / 0.5626 GB, free: 2.703 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.135e-05/0.3985, allocations: 31.97 kB / 0.5626 GB, free: 2.672 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.744e-05/0.3986, allocations: 31.92 kB / 0.5626 GB, free: 2.641 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001796/0.3987, allocations: 72.81 kB / 0.5627 GB, free: 2.566 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.3987, allocations: 0 / 0.5627 GB, free: 2.566 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002665/0.399, allocations: 113.6 kB / 0.5628 GB, free: 2.449 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.399, allocations: 4 kB / 0.5628 GB, free: 2.445 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.399, allocations: 0 / 0.5628 GB, free: 2.445 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.3991, allocations: 4 kB / 0.5628 GB, free: 2.441 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.3992, allocations: 23.92 kB / 0.5628 GB, free: 2.418 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/0.3992, allocations: 7.875 kB / 0.5628 GB, free: 2.41 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.638e-05/0.3992, allocations: 8 kB / 0.5629 GB, free: 2.402 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.3992, allocations: 7.984 kB / 0.5629 GB, free: 2.395 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.0001205/0.3994, allocations: 121.8 kB / 0.563 GB, free: 2.266 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.69e-05/0.3994, allocations: 11.91 kB / 0.563 GB, free: 2.254 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003223/0.3997, allocations: 139.3 kB / 0.5631 GB, free: 2.102 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.3997, allocations: 0 / 0.5631 GB, free: 2.102 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.3997, allocations: 7.938 kB / 0.5631 GB, free: 2.094 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.3997, allocations: 0 / 0.5631 GB, free: 2.094 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006059/0.4003, allocations: 382.4 kB / 0.5635 GB, free: 1.668 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.4003, allocations: 11.88 kB / 0.5635 GB, free: 1.656 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.268e-05/0.4004, allocations: 19.92 kB / 0.5635 GB, free: 1.637 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.4004, allocations: 0 / 0.5635 GB, free: 1.637 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.4004, allocations: 4 kB / 0.5635 GB, free: 1.633 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.4004, allocations: 0 / 0.5635 GB, free: 1.633 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.4004, allocations: 0 / 0.5635 GB, free: 1.633 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003008/0.4007, allocations: 220.3 kB / 0.5637 GB, free: 1.398 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.021e-05/0.4007, allocations: 19.83 kB / 0.5638 GB, free: 1.379 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.735e-05/0.4008, allocations: 0 / 0.5638 GB, free: 1.379 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.445e-05/0.4008, allocations: 4 kB / 0.5638 GB, free: 1.375 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.465e-05/0.4009, allocations: 7.984 kB / 0.5638 GB, free: 1.367 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.826e-06/0.4009, allocations: 4 kB / 0.5638 GB, free: 1.363 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001396/0.401, allocations: 153.6 kB / 0.5639 GB, free: 1.215 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.401, allocations: 0 / 0.5639 GB, free: 1.215 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002581/0.4013, allocations: 27.94 kB / 0.5639 GB, free: 1.188 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.002261/0.4035, allocations: 1.102 MB / 0.565 GB, free: 248 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002495/0.4038, allocations: 71.83 kB / 0.5651 GB, free: 176 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.4038, allocations: 0 / 0.5651 GB, free: 176 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001142/0.4039, allocations: 48.12 kB / 0.5651 GB, free: 128 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003781/0.4043, allocations: 18.64 kB / 0.5652 GB, free: 112 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0021/0.4064, allocations: 1.68 MB / 0.5668 GB, free: 14.34 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003714/0.4068, allocations: 0.7158 MB / 0.5675 GB, free: 13.6 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.811e-05/0.4068, allocations: 20.66 kB / 0.5675 GB, free: 13.58 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.392e-05/0.4069, allocations: 31.42 kB / 0.5675 GB, free: 13.55 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4069, allocations: 0 / 0.5675 GB, free: 13.55 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02343/0.4303, allocations: 3.313 MB / 0.5708 GB, free: 10.31 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.73, allocations: 18.22 kB / 0.5708 GB, free: 10.3 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test3_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test3.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.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.857321890012827]