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.001105/0.001105, allocations: 113.4 kB / 17.78 MB, free: 5.27 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.001053/0.001053, allocations: 180.1 kB / 18.71 MB, free: 4.348 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.361/1.361, 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.2058/0.2058, allocations: 44.18 MB / 336.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 63.91 kB / 470 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3585/0.3598, allocations: 60.82 MB / 0.5184 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.00337/0.3633, allocations: 2.434 MB / 0.5208 GB, free: 1.59 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001188/0.3645, allocations: 0.773 MB / 0.5215 GB, free: 1.035 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000128/0.3646, allocations: 3.688 kB / 0.5216 GB, free: 1.035 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002127/0.3649, allocations: 54.84 kB / 0.5216 GB, free: 1.004 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002424/0.3651, allocations: 100.9 kB / 0.5217 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002645/0.3654, allocations: 102 kB / 0.5218 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003396/0.3657, allocations: 342.4 kB / 0.5221 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002002/0.3659, allocations: 93.62 kB / 0.5222 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002366/0.3662, allocations: 139.6 kB / 0.5223 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002138/0.3664, allocations: 158.9 kB / 0.5225 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.95e-05/0.3665, allocations: 29.38 kB / 0.5225 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.654e-05/0.3665, allocations: 28.78 kB / 0.5226 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.829e-05/0.3666, allocations: 65.78 kB / 0.5226 GB, free: 492 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001469/0.3667, allocations: 146.7 kB / 0.5228 GB, free: 400 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004575/0.3672, allocations: 362.1 kB / 0.5231 GB, free: 256 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.3672, allocations: 0 / 0.5231 GB, free: 256 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3672, allocations: 4 kB / 0.5231 GB, free: 252 kB / 382.1 MB Notification: Performance of Transformations before backend: time 1.089e-05/0.3673, allocations: 0.7969 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.001263/0.3685, allocations: 0.6144 MB / 0.5237 GB, free: 15.75 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.3686, allocations: 9.625 kB / 0.5237 GB, free: 15.75 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.179e-05/0.3687, allocations: 61.44 kB / 0.5238 GB, free: 15.69 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.408e-05/0.3688, allocations: 32.56 kB / 0.5238 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004157/0.3692, allocations: 262.4 kB / 0.5241 GB, free: 15.42 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.138e-05/0.3692, allocations: 19.03 kB / 0.5241 GB, free: 15.41 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.018e-05/0.3693, allocations: 27.47 kB / 0.5241 GB, free: 15.4 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005951/0.3699, allocations: 252.5 kB / 0.5243 GB, free: 15.29 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.3699, allocations: 4 kB / 0.5243 GB, free: 15.28 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.063e-05/0.3699, allocations: 10.39 kB / 0.5244 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.198e-05/0.3699, allocations: 6.031 kB / 0.5244 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005543/0.3705, allocations: 236 kB / 0.5246 GB, free: 15.19 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001642/0.3721, allocations: 0.8691 MB / 0.5254 GB, free: 14.6 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005625/0.3727, allocations: 296.3 kB / 0.5257 GB, free: 14.48 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002716/0.373, allocations: 146.9 kB / 0.5259 GB, free: 14.41 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.44e-05/0.3731, allocations: 4.969 kB / 0.5259 GB, free: 14.41 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.836e-05/0.3731, allocations: 35.94 kB / 0.5259 GB, free: 14.37 MB / 398.1 MB Notification: Performance of pre-optimization done (n=31): time 1.583e-06/0.3731, allocations: 3.938 kB / 0.5259 GB, free: 14.37 MB / 398.1 MB Notification: Performance of matching and sorting (n=31): time 0.004867/0.378, allocations: 1.253 MB / 0.5271 GB, free: 13.64 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.113e-05/0.378, allocations: 53.84 kB / 0.5272 GB, free: 13.58 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002426/0.3783, allocations: 220.1 kB / 0.5274 GB, free: 13.42 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.766e-05/0.3783, allocations: 34.92 kB / 0.5274 GB, free: 13.38 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001103/0.3784, allocations: 160.9 kB / 0.5276 GB, free: 13.23 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.437e-05/0.3785, allocations: 98.92 kB / 0.5277 GB, free: 13.15 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.435e-05/0.3786, allocations: 59.48 kB / 0.5277 GB, free: 13.1 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.3788, allocations: 332.3 kB / 0.528 GB, free: 12.77 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002287/0.379, allocations: 97.44 kB / 0.5281 GB, free: 12.73 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002263/0.3792, allocations: 122.2 kB / 0.5282 GB, free: 12.65 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004514/0.3797, allocations: 234.1 kB / 0.5285 GB, free: 12.53 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.3797, allocations: 1.625 kB / 0.5285 GB, free: 12.53 MB / 398.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001866/0.3816, allocations: 0.5387 MB / 0.529 GB, free: 12.22 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.3816, allocations: 8.594 kB / 0.529 GB, free: 12.21 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.3816, allocations: 1.312 kB / 0.529 GB, free: 12.21 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001755/0.3834, allocations: 313 kB / 0.5293 GB, free: 12.06 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001635/0.3836, allocations: 23.05 kB / 0.5293 GB, free: 12.05 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007628/0.3912, allocations: 6.833 MB / 0.536 GB, free: 5.512 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002873/0.3915, allocations: 35.11 kB / 0.536 GB, free: 5.484 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.275e-05/0.3916, allocations: 10.62 kB / 0.536 GB, free: 5.48 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.0001813/0.3918, allocations: 146 kB / 0.5362 GB, free: 5.34 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.559e-05/0.3918, allocations: 23.66 kB / 0.5362 GB, free: 5.328 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001858/0.3937, allocations: 0.5454 MB / 0.5367 GB, free: 4.996 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.3937, allocations: 2.344 kB / 0.5367 GB, free: 4.996 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.3937, allocations: 5.188 kB / 0.5367 GB, free: 4.992 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.3937, allocations: 0 / 0.5367 GB, free: 4.992 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004528/0.3942, allocations: 358.8 kB / 0.5371 GB, free: 4.664 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.3942, allocations: 3.938 kB / 0.5371 GB, free: 4.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001225/0.3943, allocations: 25.64 kB / 0.5371 GB, free: 4.648 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001629/0.396, allocations: 311.9 kB / 0.5374 GB, free: 4.496 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.864e-05/0.396, allocations: 6.406 kB / 0.5374 GB, free: 4.492 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008526/0.4045, allocations: 6.892 MB / 0.5441 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.4046, allocations: 0 / 0.5441 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001969/0.4065, allocations: 0.616 MB / 0.5448 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001212/0.4067, allocations: 108.1 kB / 0.5449 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.356e-05/0.4067, allocations: 5.062 kB / 0.5449 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002267/0.407, allocations: 13.61 kB / 0.5449 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001582/0.4071, allocations: 33.8 kB / 0.5449 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.513e-05/0.4072, allocations: 8.562 kB / 0.5449 GB, free: 13.39 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002312/0.4074, allocations: 154.5 kB / 0.5451 GB, free: 13.28 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4074, allocations: 3.938 kB / 0.5451 GB, free: 13.28 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007117/0.4081, allocations: 120.2 kB / 0.5452 GB, free: 13.25 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.002322/0.4105, allocations: 1.159 MB / 0.5463 GB, free: 12.31 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001282/0.4118, allocations: 0.7467 MB / 0.547 GB, free: 11.69 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.4118, allocations: 5.406 kB / 0.547 GB, free: 11.69 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001518/0.4133, allocations: 0.7302 MB / 0.5478 GB, free: 11.08 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004022/0.4137, allocations: 23.7 kB / 0.5478 GB, free: 11.07 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007431/0.4212, allocations: 3.087 MB / 0.5508 GB, free: 8.809 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005426/0.4218, allocations: 0.7741 MB / 0.5516 GB, free: 8.066 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.173e-05/0.4219, allocations: 10.58 kB / 0.5516 GB, free: 8.055 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001203/0.422, allocations: 75.84 kB / 0.5516 GB, free: 7.984 MB / 414.1 MB Notification: Performance of SimCode: time 1.343e-06/0.422, allocations: 1.125 kB / 0.5516 GB, free: 7.984 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05095/0.473, allocations: 11.1 MB / 0.5625 GB, free: 13.26 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.89/12.37, allocations: 3.938 kB / 0.5625 GB, free: 13.26 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_Shapes_FixedShape_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 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.mat","/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