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.001944/0.001944, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002144/0.002144, allocations: 197.2 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.46/1.46, allocations: 227.4 MB / 247 MB, free: 10.39 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001809/0.001809, allocations: 63.89 kB / 358.3 MB, free: 13.35 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2387/0.2405, allocations: 50.55 MB / 408.8 MB, free: 1.441 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.005675/0.2462, allocations: 4.343 MB / 413.2 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002779/0.249, allocations: 1.716 MB / 414.9 MB, free: 11.35 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001926/0.2492, allocations: 12 kB / 414.9 MB, free: 11.34 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002254/0.2515, allocations: 1.031 MB / 415.9 MB, free: 10.3 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006141/0.2521, allocations: 254.2 kB / 416.2 MB, free: 10.05 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001532/0.2536, allocations: 0.7666 MB / 416.9 MB, free: 9.289 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000687/0.2543, allocations: 0.6299 MB / 417.6 MB, free: 8.656 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007822/0.2551, allocations: 0.5091 MB / 418.1 MB, free: 8.137 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003708/0.2555, allocations: 278.9 kB / 418.4 MB, free: 7.863 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004312/0.256, allocations: 358.5 kB / 418.7 MB, free: 7.512 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.928e-05/0.256, allocations: 56 kB / 418.8 MB, free: 7.457 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005423/0.2566, allocations: 291.7 kB / 419 MB, free: 7.172 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001138/0.2567, allocations: 139.5 kB / 419.2 MB, free: 7.035 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002937/0.257, allocations: 322.4 kB / 419.5 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001127/0.2582, allocations: 0.9835 MB / 420.5 MB, free: 5.734 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.2582, allocations: 4 kB / 420.5 MB, free: 5.73 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2582, allocations: 4 kB / 420.5 MB, free: 5.727 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.328e-05/0.2582, allocations: 0 / 420.5 MB, free: 5.727 MB / 334.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.003617/0.2618, allocations: 1.279 MB / 421.8 MB, free: 4.398 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.2619, allocations: 12.03 kB / 421.8 MB, free: 4.387 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001394/0.262, allocations: 126.7 kB / 421.9 MB, free: 4.254 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001371/0.2634, allocations: 196.4 kB / 422.1 MB, free: 4.062 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002268/0.2636, allocations: 239.5 kB / 422.3 MB, free: 3.789 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.44e-05/0.2637, allocations: 58.38 kB / 422.4 MB, free: 3.73 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001187/0.2638, allocations: 72.38 kB / 422.5 MB, free: 3.66 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00136/0.2652, allocations: 0.7739 MB / 423.2 MB, free: 2.871 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.511e-05/0.2652, allocations: 7.953 kB / 423.2 MB, free: 2.863 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.41e-05/0.2653, allocations: 28 kB / 423.3 MB, free: 2.836 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.124e-05/0.2653, allocations: 23.98 kB / 423.3 MB, free: 2.812 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00133/0.2667, allocations: 0.6688 MB / 424 MB, free: 2.145 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004361/0.271, allocations: 3.266 MB / 427.2 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002582/0.2736, allocations: 2.079 MB / 429.3 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006459/0.2743, allocations: 323.5 kB / 429.6 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001779/0.2745, allocations: 186.8 kB / 429.8 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.381e-05/0.2745, allocations: 47.44 kB / 429.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 2.595e-06/0.2745, allocations: 0 / 429.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.002646/0.2772, allocations: 1.142 MB / 431 MB, free: 10.42 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.57e-05/0.2773, allocations: 115.5 kB / 431.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003066/0.2776, allocations: 274.6 kB / 431.4 MB, free: 10.01 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.862e-05/0.2777, allocations: 41.7 kB / 431.4 MB, free: 9.961 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001938/0.2779, allocations: 296.4 kB / 431.7 MB, free: 9.664 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002006/0.2781, allocations: 265.8 kB / 432 MB, free: 9.402 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002134/0.2783, allocations: 138.6 kB / 432.1 MB, free: 9.262 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.2784, allocations: 354.7 kB / 432.4 MB, free: 8.906 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004993/0.279, allocations: 229.9 kB / 432.7 MB, free: 8.68 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006362/0.2796, allocations: 378.3 kB / 433 MB, free: 8.254 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001173/0.2808, allocations: 0.6376 MB / 433.7 MB, free: 7.566 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.2808, allocations: 0 / 433.7 MB, free: 7.566 MB / 350.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001697/0.2825, allocations: 0.8425 MB / 434.5 MB, free: 6.711 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.2825, allocations: 4 kB / 434.5 MB, free: 6.707 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.2826, allocations: 4 kB / 434.5 MB, free: 6.703 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004258/0.283, allocations: 129.7 kB / 434.7 MB, free: 6.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006236/0.2836, allocations: 159.8 kB / 434.8 MB, free: 6.414 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003578/0.2872, allocations: 3.794 MB / 438.6 MB, free: 2.344 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000508/0.2877, allocations: 87.44 kB / 438.7 MB, free: 2.258 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.283e-05/0.2878, allocations: 31.98 kB / 438.7 MB, free: 2.227 MB / 350.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.0002864/0.2881, allocations: 189.7 kB / 438.9 MB, free: 2.031 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/0.2882, allocations: 43.72 kB / 438.9 MB, free: 1.988 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001572/0.2898, allocations: 0.7492 MB / 439.7 MB, free: 1.227 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.2898, allocations: 8 kB / 439.7 MB, free: 1.219 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.2898, allocations: 8 kB / 439.7 MB, free: 1.211 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.443e-05/0.2898, allocations: 7.922 kB / 439.7 MB, free: 1.203 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002508/0.2923, allocations: 1.489 MB / 441.2 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/0.2924, allocations: 3.984 kB / 441.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004866/0.2929, allocations: 111.9 kB / 441.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002981/0.2932, allocations: 117.6 kB / 441.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.802e-05/0.2932, allocations: 16 kB / 441.5 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002924/0.2961, allocations: 3.358 MB / 444.8 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.2962, allocations: 0 / 444.8 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001976/0.2981, allocations: 1.125 MB / 445.9 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001102/0.2983, allocations: 136.6 kB / 446.1 MB, free: 10.47 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.309e-05/0.2983, allocations: 16.06 kB / 446.1 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003794/0.2987, allocations: 27.98 kB / 446.1 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001254/0.2989, allocations: 48.58 kB / 446.2 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.255e-05/0.2989, allocations: 23.98 kB / 446.2 MB, free: 10.35 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001994/0.2991, allocations: 190 kB / 446.4 MB, free: 10.16 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2991, allocations: 3.938 kB / 446.4 MB, free: 10.16 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007844/0.2999, allocations: 223.6 kB / 446.6 MB, free: 9.941 MB / 366.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.002402/0.3023, allocations: 1.712 MB / 448.3 MB, free: 8.191 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001632/0.304, allocations: 0.8874 MB / 449.2 MB, free: 7.277 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.304, allocations: 0 / 449.2 MB, free: 7.277 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008403/0.3048, allocations: 0.5719 MB / 449.8 MB, free: 6.68 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004508/0.3053, allocations: 43.73 kB / 449.8 MB, free: 6.641 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007182/0.3125, allocations: 4.745 MB / 454.5 MB, free: 1.695 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005112/0.313, allocations: 0.8655 MB / 455.4 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003125/0.3133, allocations: 80.36 kB / 455.5 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002984/0.3136, allocations: 203.4 kB / 455.7 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of SimCode: time 8.81e-07/0.3136, allocations: 0 / 455.7 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04094/0.3546, allocations: 10.62 MB / 466.3 MB, free: 6.09 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.69/11.05, allocations: 19.64 kB / 466.3 MB, free: 6.074 MB / 382.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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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