Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.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.CombiTable1Ds.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test7",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.001048/0.001048, allocations: 113.8 kB / 17.78 MB, free: 5.277 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.001167/0.001167, allocations: 179.9 kB / 18.71 MB, free: 4.363 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.317/1.317, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2089/0.2089, allocations: 44.18 MB / 336.8 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 63.91 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3222/0.3234, allocations: 60.82 MB / 0.5184 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.002475/0.3259, allocations: 1.561 MB / 0.52 GB, free: 2.211 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006267/0.3266, allocations: 397 kB / 0.5203 GB, free: 1.953 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.591e-05/0.3266, allocations: 1.281 kB / 0.5203 GB, free: 1.953 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001798/0.3268, allocations: 24.77 kB / 0.5204 GB, free: 1.938 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001685/0.327, allocations: 36.45 kB / 0.5204 GB, free: 1.918 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002427/0.3272, allocations: 84.84 kB / 0.5205 GB, free: 1.875 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001205/0.3274, allocations: 55.2 kB / 0.5205 GB, free: 1.852 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.143e-05/0.3275, allocations: 19.45 kB / 0.5206 GB, free: 1.84 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.846e-05/0.3275, allocations: 22.42 kB / 0.5206 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.088e-05/0.3276, allocations: 20.39 kB / 0.5206 GB, free: 1.816 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.44e-05/0.3276, allocations: 2.25 kB / 0.5206 GB, free: 1.816 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.255e-05/0.3277, allocations: 31.25 kB / 0.5206 GB, free: 1.809 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.368e-05/0.3277, allocations: 17.25 kB / 0.5206 GB, free: 1.797 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.309e-05/0.3278, allocations: 17.2 kB / 0.5207 GB, free: 1.785 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001548/0.3279, allocations: 81.67 kB / 0.5207 GB, free: 1.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.3279, allocations: 5.25 kB / 0.5207 GB, free: 1.746 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3279, allocations: 0 / 0.5207 GB, free: 1.746 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.678e-06/0.328, allocations: 0 / 0.5207 GB, free: 1.746 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.0003531/0.3283, allocations: 378.4 kB / 0.5211 GB, free: 1.359 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.3283, allocations: 9.625 kB / 0.5211 GB, free: 1.359 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.239e-05/0.3284, allocations: 36.62 kB / 0.5212 GB, free: 1.316 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.842e-05/0.3284, allocations: 8.484 kB / 0.5212 GB, free: 1.312 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.3285, allocations: 190.3 kB / 0.5213 GB, free: 1.102 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.66e-06/0.3286, allocations: 1.438 kB / 0.5213 GB, free: 1.102 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.3286, allocations: 2.625 kB / 0.5213 GB, free: 1.102 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001244/0.3287, allocations: 61.08 kB / 0.5214 GB, free: 1.051 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.3287, allocations: 0 / 0.5214 GB, free: 1.051 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.3287, allocations: 5.312 kB / 0.5214 GB, free: 1.047 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.3288, allocations: 0.6562 kB / 0.5214 GB, free: 1.047 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.833e-05/0.3288, allocations: 19.56 kB / 0.5214 GB, free: 1.047 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002662/0.3291, allocations: 273.1 kB / 0.5217 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001812/0.3293, allocations: 51.72 kB / 0.5217 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.756e-05/0.3294, allocations: 13.55 kB / 0.5218 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.701e-05/0.3294, allocations: 1.312 kB / 0.5218 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.143e-05/0.3294, allocations: 40.19 kB / 0.5218 GB, free: 0.668 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.3294, allocations: 0 / 0.5218 GB, free: 0.668 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005243/0.3299, allocations: 138.6 kB / 0.5219 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.262e-05/0.33, allocations: 53.45 kB / 0.522 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/0.3301, allocations: 151.5 kB / 0.5221 GB, free: 440 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.256e-06/0.3301, allocations: 30.8 kB / 0.5221 GB, free: 404 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.048e-05/0.3302, allocations: 97.42 kB / 0.5222 GB, free: 308 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.039e-05/0.3302, allocations: 15.5 kB / 0.5223 GB, free: 296 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.004e-05/0.3302, allocations: 18.58 kB / 0.5223 GB, free: 276 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.242e-05/0.3303, allocations: 327.6 kB / 0.5226 GB, free: 15.95 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.042e-05/0.3304, allocations: 19.27 kB / 0.5226 GB, free: 15.94 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.793e-05/0.3304, allocations: 15.06 kB / 0.5226 GB, free: 15.94 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001206/0.3306, allocations: 50.05 kB / 0.5227 GB, free: 15.92 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.3306, allocations: 3.938 kB / 0.5227 GB, free: 15.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001721/0.3308, allocations: 78.08 kB / 0.5227 GB, free: 15.87 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.3308, allocations: 8.406 kB / 0.5228 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.3308, allocations: 5.031 kB / 0.5228 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.3308, allocations: 0.7031 kB / 0.5228 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.055e-05/0.3309, allocations: 12.05 kB / 0.5228 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.3309, allocations: 2.281 kB / 0.5228 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.069e-05/0.3309, allocations: 7.547 kB / 0.5228 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.794e-06/0.3309, allocations: 6 kB / 0.5228 GB, free: 15.86 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.626e-05/0.331, allocations: 117.1 kB / 0.5229 GB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.118e-05/0.3311, allocations: 11.7 kB / 0.5229 GB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002261/0.3313, allocations: 89.62 kB / 0.523 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.3313, allocations: 1.031 kB / 0.523 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.3313, allocations: 0 / 0.523 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.3313, allocations: 4.594 kB / 0.523 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000398/0.3317, allocations: 343.2 kB / 0.5233 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3317, allocations: 0 / 0.5233 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.626e-05/0.3318, allocations: 16.23 kB / 0.5233 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.3318, allocations: 1.062 kB / 0.5233 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.3318, allocations: 4.688 kB / 0.5233 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.3318, allocations: 1.188 kB / 0.5233 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.3318, allocations: 0 / 0.5233 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002128/0.3321, allocations: 181.1 kB / 0.5235 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.703e-05/0.3321, allocations: 88.56 kB / 0.5236 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.697e-05/0.3321, allocations: 5.062 kB / 0.5236 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.674e-05/0.3322, allocations: 4.281 kB / 0.5236 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.491e-05/0.3322, allocations: 8.141 kB / 0.5236 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.3323, allocations: 2.469 kB / 0.5236 GB, free: 15.07 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.989e-05/0.3323, allocations: 116.1 kB / 0.5237 GB, free: 14.99 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3324, allocations: 3.938 kB / 0.5237 GB, free: 14.99 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002385/0.3326, allocations: 13.95 kB / 0.5238 GB, free: 14.98 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.001247/0.3339, allocations: 1.014 MB / 0.5247 GB, free: 14.2 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001892/0.3341, allocations: 52.73 kB / 0.5248 GB, free: 14.18 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.3341, allocations: 0 / 0.5248 GB, free: 14.18 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.092e-05/0.3341, allocations: 27.95 kB / 0.5248 GB, free: 14.18 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003484/0.3345, allocations: 13.56 kB / 0.5248 GB, free: 14.17 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001562/0.3361, allocations: 1.449 MB / 0.5262 GB, free: 12.9 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002678/0.3364, allocations: 0.6915 MB / 0.5269 GB, free: 12.2 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.159e-05/0.3364, allocations: 14.25 kB / 0.5269 GB, free: 12.2 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.003e-05/0.3365, allocations: 23.22 kB / 0.527 GB, free: 12.18 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3365, allocations: 0 / 0.527 GB, free: 12.18 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01918/0.3557, allocations: 2.511 MB / 0.5294 GB, free: 11.29 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.84/8.196, allocations: 10.02 kB / 0.5294 GB, free: 11.28 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test7.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches