Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test33",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 117.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001149/0.001148, allocations: 184.2 kB / 18.72 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.398/1.398, allocations: 222.9 MB / 242.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2326/0.2326, allocations: 44.19 MB / 336.8 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 75.81 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3051/0.3066, allocations: 60.83 MB / 0.5185 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test33): time 0.003042/0.3096, allocations: 1.553 MB / 0.52 GB, free: 2.219 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00142/0.3111, allocations: 1.033 MB / 0.521 GB, free: 1.488 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.544e-05/0.3112, allocations: 0 / 0.521 GB, free: 1.488 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002325/0.3114, allocations: 24.89 kB / 0.521 GB, free: 1.473 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001989/0.3116, allocations: 41.59 kB / 0.521 GB, free: 1.449 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003092/0.3119, allocations: 102.8 kB / 0.5211 GB, free: 1.398 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001479/0.3121, allocations: 56.88 kB / 0.5212 GB, free: 1.375 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.3122, allocations: 20.67 kB / 0.5212 GB, free: 1.363 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.843e-05/0.3123, allocations: 22.95 kB / 0.5212 GB, free: 1.352 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001305/0.3124, allocations: 25.77 kB / 0.5213 GB, free: 1.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.646e-05/0.3124, allocations: 3.125 kB / 0.5213 GB, free: 1.34 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001068/0.3125, allocations: 48.84 kB / 0.5213 GB, free: 1.324 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.963e-05/0.3126, allocations: 17.39 kB / 0.5213 GB, free: 1.312 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.42e-05/0.3126, allocations: 17.92 kB / 0.5213 GB, free: 1.301 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000225/0.3129, allocations: 86.92 kB / 0.5214 GB, free: 1.27 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.3129, allocations: 7.938 kB / 0.5214 GB, free: 1.262 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.3129, allocations: 0 / 0.5214 GB, free: 1.262 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.068e-05/0.3129, allocations: 5.125 kB / 0.5214 GB, free: 1.258 MB / 382.1 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.0004119/0.3133, allocations: 377.5 kB / 0.5218 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.3134, allocations: 10.03 kB / 0.5218 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.711e-05/0.3134, allocations: 32.88 kB / 0.5218 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.454e-05/0.3134, allocations: 7.797 kB / 0.5218 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000157/0.3136, allocations: 194.8 kB / 0.522 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.3136, allocations: 6.219 kB / 0.522 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.391e-05/0.3137, allocations: 5.875 kB / 0.522 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001744/0.3138, allocations: 74.62 kB / 0.5221 GB, free: 0.543 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.3139, allocations: 3.953 kB / 0.5221 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.3139, allocations: 1.031 kB / 0.5221 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/0.3139, allocations: 0 / 0.5221 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001006/0.314, allocations: 23.7 kB / 0.5221 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003567/0.3144, allocations: 280 kB / 0.5224 GB, free: 256 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002282/0.3146, allocations: 45.5 kB / 0.5225 GB, free: 224 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.212e-05/0.3147, allocations: 19.22 kB / 0.5225 GB, free: 212 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.865e-05/0.3147, allocations: 1.719 kB / 0.5225 GB, free: 212 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.548e-05/0.3147, allocations: 31.72 kB / 0.5225 GB, free: 172 kB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.3147, allocations: 4 kB / 0.5225 GB, free: 168 kB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005948/0.3153, allocations: 143 kB / 0.5226 GB, free: 104 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.347e-05/0.3154, allocations: 79.22 kB / 0.5227 GB, free: 8 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001698/0.3155, allocations: 134.6 kB / 0.5228 GB, free: 15.89 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.3156, allocations: 26.36 kB / 0.5229 GB, free: 15.86 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.057e-05/0.3156, allocations: 92.69 kB / 0.523 GB, free: 15.77 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.394e-05/0.3157, allocations: 19.59 kB / 0.523 GB, free: 15.76 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.159e-05/0.3157, allocations: 19.83 kB / 0.523 GB, free: 15.74 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.3159, allocations: 319 kB / 0.5233 GB, free: 15.42 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001336/0.316, allocations: 20.52 kB / 0.5233 GB, free: 15.42 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.043e-05/0.3161, allocations: 38.12 kB / 0.5234 GB, free: 15.39 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000148/0.3163, allocations: 58.56 kB / 0.5234 GB, free: 15.37 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.3163, allocations: 1.25 kB / 0.5234 GB, free: 15.37 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001929/0.3165, allocations: 80.08 kB / 0.5235 GB, free: 15.32 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.3165, allocations: 6.656 kB / 0.5235 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.3165, allocations: 0 / 0.5235 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.3165, allocations: 0 / 0.5235 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.458e-05/0.3166, allocations: 20.86 kB / 0.5235 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.3166, allocations: 0.7969 kB / 0.5235 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.254e-05/0.3167, allocations: 4.984 kB / 0.5235 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.959e-06/0.3167, allocations: 14.17 kB / 0.5235 GB, free: 15.3 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 (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 7.966e-05/0.3168, allocations: 114.6 kB / 0.5236 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.45e-05/0.3168, allocations: 8.344 kB / 0.5237 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002478/0.317, allocations: 101.2 kB / 0.5238 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.3171, allocations: 5.281 kB / 0.5238 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.3171, allocations: 0 / 0.5238 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.3171, allocations: 0.75 kB / 0.5238 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004338/0.3175, allocations: 361.5 kB / 0.5241 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.3175, allocations: 0 / 0.5241 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.499e-05/0.3176, allocations: 13.03 kB / 0.5241 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.3176, allocations: 0 / 0.5241 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.3176, allocations: 1.656 kB / 0.5241 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.3176, allocations: 3.938 kB / 0.5241 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.3176, allocations: 1.828 kB / 0.5241 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000243/0.3179, allocations: 184.9 kB / 0.5243 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.828e-05/0.3179, allocations: 83.14 kB / 0.5244 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.775e-05/0.3179, allocations: 1.062 kB / 0.5244 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.44e-05/0.318, allocations: 8.75 kB / 0.5244 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.954e-05/0.3181, allocations: 4.547 kB / 0.5244 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.3181, allocations: 2.188 kB / 0.5244 GB, free: 14.52 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.64e-05/0.3182, allocations: 107.4 kB / 0.5245 GB, free: 14.43 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3182, allocations: 4 kB / 0.5245 GB, free: 14.43 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002605/0.3185, allocations: 23.98 kB / 0.5245 GB, free: 14.42 MB / 398.1 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.001386/0.3198, allocations: 1.06 MB / 0.5256 GB, free: 13.62 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002192/0.3201, allocations: 53.12 kB / 0.5256 GB, free: 13.61 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3201, allocations: 0 / 0.5256 GB, free: 13.61 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.408e-05/0.3202, allocations: 29.88 kB / 0.5256 GB, free: 13.6 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000367/0.3206, allocations: 22.42 kB / 0.5257 GB, free: 13.59 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00167/0.3222, allocations: 1.408 MB / 0.527 GB, free: 12.34 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002889/0.3225, allocations: 0.6924 MB / 0.5277 GB, free: 11.64 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.324e-05/0.3226, allocations: 21.52 kB / 0.5277 GB, free: 11.63 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.166e-05/0.3227, allocations: 28.47 kB / 0.5278 GB, free: 11.62 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3227, allocations: 0 / 0.5278 GB, free: 11.62 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02129/0.344, allocations: 2.764 MB / 0.5305 GB, free: 10.44 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.574/7.918, allocations: 19.06 kB / 0.5305 GB, free: 10.43 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test33.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test33/Test33.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches