Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.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.Magnetic.FluxTubes.Shapes.FixedShape,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_Shapes_FixedShape",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_Shapes_FixedShape",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.001242/0.001242, allocations: 118.4 kB / 17.78 MB, free: 5.262 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.00137/0.00137, allocations: 183 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.423/1.423, allocations: 222.9 MB / 242.4 MB, free: 15.16 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.2205/0.2205, allocations: 44.19 MB / 336.8 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001862/0.001862, allocations: 67.91 kB / 470 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3153/0.3172, allocations: 60.82 MB / 0.5184 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.002964/0.3202, allocations: 2.437 MB / 0.5208 GB, free: 1.594 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001065/0.3213, allocations: 0.7645 MB / 0.5215 GB, free: 1.047 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001178/0.3214, allocations: 4.406 kB / 0.5215 GB, free: 1.047 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001855/0.3216, allocations: 61.78 kB / 0.5216 GB, free: 1.008 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002241/0.3219, allocations: 100.8 kB / 0.5217 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002441/0.3221, allocations: 94.02 kB / 0.5218 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003083/0.3224, allocations: 358.1 kB / 0.5221 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001701/0.3226, allocations: 92.89 kB / 0.5222 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001919/0.3228, allocations: 134.9 kB / 0.5224 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001816/0.323, allocations: 155.7 kB / 0.5225 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.479e-05/0.3231, allocations: 29.44 kB / 0.5225 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.592e-05/0.3231, allocations: 29.81 kB / 0.5226 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.794e-05/0.3232, allocations: 69.27 kB / 0.5226 GB, free: 496 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001304/0.3233, allocations: 147 kB / 0.5228 GB, free: 404 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003552/0.3237, allocations: 365.9 kB / 0.5231 GB, free: 256 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3237, allocations: 4 kB / 0.5231 GB, free: 252 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3237, allocations: 1.469 kB / 0.5231 GB, free: 252 kB / 382.1 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.3237, allocations: 0.75 kB / 0.5231 GB, free: 252 kB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001073/0.3248, allocations: 0.6146 MB / 0.5237 GB, free: 15.75 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.3248, allocations: 8.562 kB / 0.5237 GB, free: 15.75 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.015e-05/0.3249, allocations: 61.09 kB / 0.5238 GB, free: 15.69 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.84e-05/0.325, allocations: 36.86 kB / 0.5238 GB, free: 15.67 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004265/0.3254, allocations: 258 kB / 0.5241 GB, free: 15.42 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.474e-05/0.3255, allocations: 23.09 kB / 0.5241 GB, free: 15.41 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.792e-05/0.3255, allocations: 28.12 kB / 0.5241 GB, free: 15.4 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006351/0.3262, allocations: 248.5 kB / 0.5244 GB, free: 15.29 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.3262, allocations: 3.938 kB / 0.5244 GB, free: 15.28 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.992e-05/0.3262, allocations: 10.98 kB / 0.5244 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.343e-06/0.3262, allocations: 5.219 kB / 0.5244 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005109/0.3267, allocations: 229.6 kB / 0.5246 GB, free: 15.2 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001505/0.3283, allocations: 0.8757 MB / 0.5254 GB, free: 14.6 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005785/0.3288, allocations: 315.9 kB / 0.5257 GB, free: 14.46 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002997/0.3292, allocations: 139.5 kB / 0.5259 GB, free: 14.4 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.886e-05/0.3292, allocations: 7.219 kB / 0.5259 GB, free: 14.4 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.459e-05/0.3292, allocations: 38.17 kB / 0.5259 GB, free: 14.36 MB / 398.1 MB Notification: Performance of pre-optimization done (n=31): time 1.693e-06/0.3293, allocations: 0 / 0.5259 GB, free: 14.36 MB / 398.1 MB Notification: Performance of matching and sorting (n=31): time 0.004649/0.3339, allocations: 1.261 MB / 0.5272 GB, free: 13.61 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.225e-05/0.334, allocations: 55.53 kB / 0.5272 GB, free: 13.55 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002401/0.3342, allocations: 214.9 kB / 0.5274 GB, free: 13.39 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.18e-05/0.3343, allocations: 31.08 kB / 0.5274 GB, free: 13.36 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001255/0.3344, allocations: 161.7 kB / 0.5276 GB, free: 13.21 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.263e-05/0.3345, allocations: 110.6 kB / 0.5277 GB, free: 13.11 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.9e-05/0.3346, allocations: 53.08 kB / 0.5278 GB, free: 13.07 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002417/0.3348, allocations: 335.4 kB / 0.5281 GB, free: 12.74 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002317/0.3351, allocations: 89.52 kB / 0.5282 GB, free: 12.7 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002693/0.3354, allocations: 123 kB / 0.5283 GB, free: 12.63 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004943/0.3359, allocations: 233.4 kB / 0.5285 GB, free: 12.5 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.3359, allocations: 0.5625 kB / 0.5285 GB, free: 12.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001832/0.3377, allocations: 0.5476 MB / 0.529 GB, free: 12.19 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.3378, allocations: 4.375 kB / 0.529 GB, free: 12.19 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.3378, allocations: 8.984 kB / 0.529 GB, free: 12.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001706/0.3395, allocations: 305.9 kB / 0.5293 GB, free: 12.03 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001764/0.3397, allocations: 34.22 kB / 0.5294 GB, free: 12.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008715/0.3484, allocations: 6.842 MB / 0.5361 GB, free: 5.465 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002673/0.3487, allocations: 20.86 kB / 0.5361 GB, free: 5.453 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.265e-05/0.3487, allocations: 6.438 kB / 0.5361 GB, free: 5.453 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (15): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,5), (1,5), (1,5), (1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001934/0.3489, allocations: 145.3 kB / 0.5362 GB, free: 5.312 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.793e-05/0.349, allocations: 28.06 kB / 0.5362 GB, free: 5.297 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00185/0.3508, allocations: 0.5454 MB / 0.5368 GB, free: 4.965 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.3509, allocations: 2.281 kB / 0.5368 GB, free: 4.965 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.3509, allocations: 5.5 kB / 0.5368 GB, free: 4.961 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.3509, allocations: 3.984 kB / 0.5368 GB, free: 4.957 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004877/0.3514, allocations: 350.8 kB / 0.5371 GB, free: 4.637 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.676e-06/0.3514, allocations: 4 kB / 0.5371 GB, free: 4.633 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001272/0.3515, allocations: 21.94 kB / 0.5371 GB, free: 4.625 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001541/0.3531, allocations: 315.6 kB / 0.5374 GB, free: 4.469 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.273e-05/0.3531, allocations: 5.125 kB / 0.5375 GB, free: 4.465 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008306/0.3614, allocations: 6.9 MB / 0.5442 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.3615, allocations: 0 / 0.5442 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00191/0.3634, allocations: 0.6254 MB / 0.5448 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001161/0.3635, allocations: 103 kB / 0.5449 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.485e-05/0.3636, allocations: 10.08 kB / 0.5449 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002069/0.3638, allocations: 12.41 kB / 0.5449 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000119/0.3639, allocations: 34.77 kB / 0.545 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.078e-05/0.3639, allocations: 9.438 kB / 0.545 GB, free: 13.35 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001715/0.3641, allocations: 160.6 kB / 0.5451 GB, free: 13.23 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.214e-06/0.3641, allocations: 1.312 kB / 0.5451 GB, free: 13.23 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005596/0.3647, allocations: 119.9 kB / 0.5452 GB, free: 13.21 MB / 414.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 (11): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(2,4), (2,4), (2,4), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002172/0.3669, allocations: 1.16 MB / 0.5464 GB, free: 12.27 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001308/0.3682, allocations: 0.7677 MB / 0.5471 GB, free: 11.62 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.3682, allocations: 0 / 0.5471 GB, free: 11.62 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001385/0.3696, allocations: 0.7222 MB / 0.5478 GB, free: 11.03 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003387/0.3699, allocations: 30.56 kB / 0.5478 GB, free: 11.01 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006446/0.3764, allocations: 3.091 MB / 0.5509 GB, free: 8.738 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004703/0.3769, allocations: 0.7712 MB / 0.5516 GB, free: 8 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.647e-05/0.377, allocations: 10.61 kB / 0.5516 GB, free: 7.988 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001162/0.3771, allocations: 75.72 kB / 0.5517 GB, free: 7.918 MB / 414.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3771, allocations: 1.188 kB / 0.5517 GB, free: 7.918 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05044/0.4276, allocations: 10.81 MB / 0.5623 GB, free: 13.5 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.47/12.9, allocations: 0 / 0.5623 GB, free: 13.5 MB / 430.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_Shapes_FixedShape.fmu > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Shapes/FixedShape/FixedShape.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches