Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001602/0.001602, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00196/0.00196, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.442/1.442, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001523/0.001523, allocations: 68.47 kB / 307.1 MB, free: 0.5469 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.102, allocations: 50.54 MB / 357.6 MB, free: 14.01 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.006078/0.1081, allocations: 4.318 MB / 361.9 MB, free: 9.672 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003007/0.1111, allocations: 1.724 MB / 363.6 MB, free: 7.938 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004893/0.1116, allocations: 12 kB / 363.7 MB, free: 7.926 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002391/0.114, allocations: 1.015 MB / 364.7 MB, free: 6.906 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007996/0.1148, allocations: 250.2 kB / 364.9 MB, free: 6.66 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001638/0.1165, allocations: 0.7662 MB / 365.7 MB, free: 5.895 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008206/0.1173, allocations: 0.6297 MB / 366.3 MB, free: 5.262 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009366/0.1183, allocations: 0.5249 MB / 366.8 MB, free: 4.734 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004547/0.1187, allocations: 274.9 kB / 367.1 MB, free: 4.465 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000467/0.1192, allocations: 358.5 kB / 367.5 MB, free: 4.113 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001007/0.1193, allocations: 56 kB / 367.5 MB, free: 4.059 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006094/0.1199, allocations: 291.7 kB / 367.8 MB, free: 3.773 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001122/0.1201, allocations: 143.5 kB / 367.9 MB, free: 3.633 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003425/0.1204, allocations: 326.4 kB / 368.3 MB, free: 3.312 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00108/0.1215, allocations: 0.9656 MB / 369.2 MB, free: 2.344 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.1215, allocations: 0 / 369.2 MB, free: 2.344 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1215, allocations: 0 / 369.2 MB, free: 2.344 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.201e-05/0.1215, allocations: 0 / 369.2 MB, free: 2.344 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.003711/0.1253, allocations: 1.272 MB / 370.5 MB, free: 1.02 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.1253, allocations: 8.031 kB / 370.5 MB, free: 1.012 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001387/0.1255, allocations: 122.8 kB / 370.6 MB, free: 0.8828 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001335/0.1268, allocations: 200 kB / 370.8 MB, free: 0.6875 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002078/0.127, allocations: 247.2 kB / 371.1 MB, free: 416 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.425e-05/0.1271, allocations: 58.38 kB / 371.1 MB, free: 360 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000114/0.1272, allocations: 72.38 kB / 371.2 MB, free: 288 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.17/0.2972, allocations: 0.7662 MB / 371.9 MB, free: 20.22 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.103e-05/0.2973, allocations: 2.891 kB / 372 MB, free: 20.22 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.542e-05/0.2974, allocations: 29.78 kB / 372 MB, free: 20.22 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.771e-05/0.2974, allocations: 17.75 kB / 372 MB, free: 20.22 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001383/0.2988, allocations: 0.6651 MB / 372.7 MB, free: 20.01 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004198/0.303, allocations: 3.272 MB / 375.9 MB, free: 17.62 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002067/0.3051, allocations: 2.072 MB / 378 MB, free: 15.79 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006233/0.3058, allocations: 323.6 kB / 378.3 MB, free: 15.67 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001251/0.3059, allocations: 178.3 kB / 378.5 MB, free: 15.48 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.3059, allocations: 43.86 kB / 378.5 MB, free: 15.43 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 2.384e-06/0.3059, allocations: 3.906 kB / 378.5 MB, free: 15.43 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.002376/0.3083, allocations: 1.13 MB / 379.7 MB, free: 14.9 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.279e-05/0.3084, allocations: 111.6 kB / 379.8 MB, free: 14.77 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002826/0.3087, allocations: 283.5 kB / 380.1 MB, free: 14.61 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.358e-05/0.3087, allocations: 35.61 kB / 380.1 MB, free: 14.57 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001311/0.3088, allocations: 297.7 kB / 380.4 MB, free: 14.33 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001371/0.309, allocations: 247.4 kB / 380.6 MB, free: 14.14 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001916/0.3092, allocations: 134.8 kB / 380.8 MB, free: 14.07 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.667e-05/0.3093, allocations: 349.2 kB / 381.1 MB, free: 13.74 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004761/0.3098, allocations: 228.8 kB / 381.3 MB, free: 13.66 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005174/0.3103, allocations: 388.7 kB / 381.7 MB, free: 13.41 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009538/0.3112, allocations: 0.6313 MB / 382.3 MB, free: 13.03 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.3113, allocations: 1.25 kB / 382.3 MB, free: 13.03 MB / 302.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00145/0.3127, allocations: 0.8379 MB / 383.2 MB, free: 12.67 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.3127, allocations: 7.812 kB / 383.2 MB, free: 12.67 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.3128, allocations: 3.562 kB / 383.2 MB, free: 12.67 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003751/0.3131, allocations: 127.4 kB / 383.3 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006188/0.3138, allocations: 153.8 kB / 383.5 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002528/0.3163, allocations: 3.787 MB / 387.2 MB, free: 9.133 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005283/0.3169, allocations: 90.03 kB / 387.3 MB, free: 9.078 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.091e-05/0.3169, allocations: 31.62 kB / 387.4 MB, free: 9.07 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (86): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,7,100.0%), (1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002445/0.3172, allocations: 208.3 kB / 387.6 MB, free: 8.887 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.961e-05/0.3173, allocations: 43.06 kB / 387.6 MB, free: 8.863 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00145/0.3187, allocations: 0.7438 MB / 388.4 MB, free: 8.523 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.488e-06/0.3188, allocations: 12.22 kB / 388.4 MB, free: 8.523 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.3188, allocations: 7.156 kB / 388.4 MB, free: 8.52 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/0.3188, allocations: 3.75 kB / 388.4 MB, free: 8.52 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002382/0.3212, allocations: 1.484 MB / 389.9 MB, free: 7.723 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.3212, allocations: 4.688 kB / 389.9 MB, free: 7.723 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004981/0.3217, allocations: 117.3 kB / 390 MB, free: 7.707 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000282/0.322, allocations: 110.2 kB / 390.1 MB, free: 7.664 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.629e-05/0.322, allocations: 22.42 kB / 390.1 MB, free: 7.648 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00204/0.3241, allocations: 3.345 MB / 393.5 MB, free: 4.527 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.3241, allocations: 1.75 kB / 393.5 MB, free: 4.527 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00182/0.3259, allocations: 1.118 MB / 394.6 MB, free: 3.934 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/0.326, allocations: 125.5 kB / 394.7 MB, free: 3.809 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.244e-05/0.3261, allocations: 15.56 kB / 394.7 MB, free: 3.797 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003859/0.3265, allocations: 27.5 kB / 394.7 MB, free: 3.789 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001299/0.3266, allocations: 51.88 kB / 394.8 MB, free: 3.781 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.444e-05/0.3267, allocations: 19.28 kB / 394.8 MB, free: 3.777 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002095/0.3269, allocations: 203 kB / 395 MB, free: 3.656 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.3269, allocations: 0 / 395 MB, free: 3.656 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008515/0.3278, allocations: 215 kB / 395.2 MB, free: 3.605 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (source.port_p.reference.gamma) * 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 (60): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002066/0.3298, allocations: 1.715 MB / 396.9 MB, free: 2.461 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001832/0.3317, allocations: 0.9059 MB / 397.8 MB, free: 1.996 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.3317, allocations: 6.469 kB / 397.8 MB, free: 1.992 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007354/0.3324, allocations: 0.5554 MB / 398.4 MB, free: 1.645 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005252/0.333, allocations: 35.56 kB / 398.4 MB, free: 1.621 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006856/0.3398, allocations: 4.794 MB / 403.2 MB, free: 14.57 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004126/0.3403, allocations: 0.8612 MB / 404.1 MB, free: 13.8 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004061/0.3407, allocations: 83.38 kB / 404.2 MB, free: 13.75 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002708/0.341, allocations: 197.9 kB / 404.4 MB, free: 13.59 MB / 318.1 MB Notification: Performance of SimCode: time 1.453e-06/0.341, allocations: 0 / 404.4 MB, free: 13.59 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05184/0.3929, allocations: 10.57 MB / 414.9 MB, free: 4.355 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.515/9.908, allocations: 15.02 kB / 414.9 MB, free: 4.344 MB / 318.1 MB (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CuboidSections/CuboidSections.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches