Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.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) 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(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 104.1 kB / 16.51 MB, free: 6.707 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.001248/0.001248, allocations: 190.6 kB / 17.43 MB, free: 6.066 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.31/1.31, allocations: 222.9 MB / 241.1 MB, free: 15.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001059/0.001059, allocations: 46.27 kB / 300.1 MB, free: 6.188 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08456/0.08564, allocations: 49.44 MB / 349.5 MB, free: 4.73 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.00519/0.09086, allocations: 4.328 MB / 353.9 MB, free: 384 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002519/0.0934, allocations: 1.635 MB / 355.5 MB, free: 14.73 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003702/0.0938, allocations: 12 kB / 355.5 MB, free: 14.72 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002182/0.09602, allocations: 0.9479 MB / 356.4 MB, free: 13.77 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007338/0.09677, allocations: 210.8 kB / 356.7 MB, free: 13.56 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0015/0.09828, allocations: 0.7824 MB / 357.4 MB, free: 12.78 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007166/0.09901, allocations: 0.6026 MB / 358 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008328/0.09985, allocations: 477.9 kB / 358.5 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004364/0.1003, allocations: 254.9 kB / 358.8 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004831/0.1008, allocations: 354.5 kB / 359.1 MB, free: 11.1 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001003/0.1009, allocations: 40 kB / 359.1 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005541/0.1015, allocations: 259.7 kB / 359.4 MB, free: 10.81 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001025/0.1016, allocations: 123.5 kB / 359.5 MB, free: 10.69 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000321/0.1019, allocations: 318.4 kB / 359.8 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009687/0.1029, allocations: 0.9383 MB / 360.8 MB, free: 9.434 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1029, allocations: 3.938 kB / 360.8 MB, free: 9.43 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1029, allocations: 0 / 360.8 MB, free: 9.43 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.71e-05/0.1029, allocations: 0 / 360.8 MB, free: 9.43 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.003764/0.1067, allocations: 1.26 MB / 362 MB, free: 8.117 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.1068, allocations: 8.031 kB / 362 MB, free: 8.109 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001419/0.1069, allocations: 118.8 kB / 362.1 MB, free: 7.984 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001371/0.1083, allocations: 204 kB / 362.3 MB, free: 7.785 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002014/0.1085, allocations: 243.3 kB / 362.6 MB, free: 7.508 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.599e-05/0.1085, allocations: 54.38 kB / 362.6 MB, free: 7.457 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001161/0.1087, allocations: 76.38 kB / 362.7 MB, free: 7.383 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001358/0.11, allocations: 0.77 MB / 363.5 MB, free: 6.594 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.683e-05/0.1101, allocations: 3.906 kB / 363.5 MB, free: 6.59 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.679e-05/0.1101, allocations: 32 kB / 363.5 MB, free: 6.559 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.67e-05/0.1102, allocations: 19.94 kB / 363.5 MB, free: 6.539 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00137/0.1115, allocations: 0.6649 MB / 364.2 MB, free: 5.871 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004376/0.1159, allocations: 3.111 MB / 367.3 MB, free: 2.504 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002257/0.1182, allocations: 2.075 MB / 369.4 MB, free: 136 kB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1321/0.2504, allocations: 321.4 kB / 369.7 MB, free: 25.58 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001466/0.2505, allocations: 102.6 kB / 369.8 MB, free: 25.48 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.462e-05/0.2506, allocations: 41.61 kB / 369.8 MB, free: 25.45 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 2.745e-06/0.2506, allocations: 0.5938 kB / 369.8 MB, free: 25.45 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.002694/0.2533, allocations: 1.145 MB / 371 MB, free: 25.19 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.472e-05/0.2534, allocations: 111.1 kB / 371.1 MB, free: 25.07 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003016/0.2537, allocations: 276.9 kB / 371.4 MB, free: 24.96 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.794e-05/0.2537, allocations: 37.02 kB / 371.4 MB, free: 24.93 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001531/0.2539, allocations: 295.8 kB / 371.7 MB, free: 24.76 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000154/0.254, allocations: 245 kB / 371.9 MB, free: 24.61 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002148/0.2543, allocations: 140.2 kB / 372.1 MB, free: 24.59 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.125e-05/0.2543, allocations: 351.5 kB / 372.4 MB, free: 24.27 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005329/0.2549, allocations: 230.4 kB / 372.6 MB, free: 24.25 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000589/0.2555, allocations: 384.8 kB / 373 MB, free: 24.01 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001113/0.2566, allocations: 0.634 MB / 373.6 MB, free: 23.64 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.863e-06/0.2566, allocations: 1.375 kB / 373.6 MB, free: 23.64 MB / 302.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001528/0.2581, allocations: 0.8351 MB / 374.5 MB, free: 23.29 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.2582, allocations: 7.688 kB / 374.5 MB, free: 23.29 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.2582, allocations: 3.344 kB / 374.5 MB, free: 23.29 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003947/0.2586, allocations: 124.2 kB / 374.6 MB, free: 23.25 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000609/0.2592, allocations: 158 kB / 374.8 MB, free: 23.23 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002308/0.2615, allocations: 3.407 MB / 378.2 MB, free: 20.12 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004755/0.262, allocations: 89.73 kB / 378.3 MB, free: 20.06 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.698e-05/0.2621, allocations: 32.95 kB / 378.3 MB, free: 20.05 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.0002186/0.2623, allocations: 199.9 kB / 378.5 MB, free: 19.88 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.705e-05/0.2624, allocations: 39.33 kB / 378.5 MB, free: 19.86 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001556/0.264, allocations: 0.7484 MB / 379.3 MB, free: 19.52 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.836e-06/0.264, allocations: 14.67 kB / 379.3 MB, free: 19.52 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.02e-05/0.264, allocations: 3.438 kB / 379.3 MB, free: 19.52 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.828e-06/0.264, allocations: 3.516 kB / 379.3 MB, free: 19.52 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002415/0.2664, allocations: 1.498 MB / 380.8 MB, free: 18.71 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.2665, allocations: 1.828 kB / 380.8 MB, free: 18.71 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005091/0.267, allocations: 114.2 kB / 380.9 MB, free: 18.7 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002655/0.2673, allocations: 108.4 kB / 381 MB, free: 18.66 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.201e-05/0.2673, allocations: 20.84 kB / 381 MB, free: 18.65 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001842/0.2692, allocations: 3.106 MB / 384.1 MB, free: 15.76 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.2692, allocations: 1.469 kB / 384.1 MB, free: 15.76 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001826/0.271, allocations: 1.126 MB / 385.3 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.115e-05/0.2711, allocations: 131.7 kB / 385.4 MB, free: 15.03 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.393e-05/0.2712, allocations: 12.55 kB / 385.4 MB, free: 15.02 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003948/0.2716, allocations: 31.61 kB / 385.4 MB, free: 15.01 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000136/0.2717, allocations: 56.86 kB / 385.5 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.175e-05/0.2718, allocations: 19.08 kB / 385.5 MB, free: 14.99 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002017/0.272, allocations: 196 kB / 385.7 MB, free: 14.88 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.272, allocations: 0 / 385.7 MB, free: 14.88 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009021/0.2729, allocations: 208.6 kB / 385.9 MB, free: 14.83 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.002416/0.2753, allocations: 1.724 MB / 387.6 MB, free: 13.68 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001518/0.2768, allocations: 0.8772 MB / 388.5 MB, free: 13.23 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2769, allocations: 0 / 388.5 MB, free: 13.23 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007887/0.2776, allocations: 0.5642 MB / 389.1 MB, free: 12.88 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005556/0.2782, allocations: 48.73 kB / 389.1 MB, free: 12.85 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006808/0.285, allocations: 5.073 MB / 394.2 MB, free: 9.578 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002847/0.2853, allocations: 0.8607 MB / 395.1 MB, free: 8.871 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003949/0.2857, allocations: 81.52 kB / 395.1 MB, free: 8.84 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002463/0.286, allocations: 204.8 kB / 395.3 MB, free: 8.691 MB / 302.1 MB Notification: Performance of SimCode: time 7.32e-07/0.286, allocations: 4 kB / 395.3 MB, free: 8.688 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01969/0.3057, allocations: 10.09 MB / 405.4 MB, free: 1.676 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002471/0.306, allocations: 260.4 kB / 405.7 MB, free: 1.418 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.046/2.352, allocations: 3.234 kB / 405.7 MB, free: 1.418 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections.fmu > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat","/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_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches