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.001094/0.001094, allocations: 115.8 kB / 17.33 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001174/0.001174, allocations: 205.8 kB / 18.26 MB, free: 5.102 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.343/1.343, allocations: 227.4 MB / 246.4 MB, free: 9.059 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 67.78 kB / 306.6 MB, free: 0.5703 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1085, allocations: 50.54 MB / 357.1 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.005992/0.1145, allocations: 4.327 MB / 361.4 MB, free: 9.691 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003647/0.1182, allocations: 1.697 MB / 363.1 MB, free: 7.984 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005518/0.1188, allocations: 12 kB / 363.1 MB, free: 7.973 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0026/0.1214, allocations: 0.9569 MB / 364.1 MB, free: 7.016 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001017/0.1224, allocations: 218.7 kB / 364.3 MB, free: 6.801 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001595/0.124, allocations: 0.7127 MB / 365 MB, free: 6.086 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009558/0.125, allocations: 0.6297 MB / 365.7 MB, free: 5.453 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001005/0.126, allocations: 0.5719 MB / 366.2 MB, free: 4.879 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004907/0.1265, allocations: 274.9 kB / 366.5 MB, free: 4.609 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005349/0.1271, allocations: 362.5 kB / 366.9 MB, free: 4.254 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001539/0.1272, allocations: 56 kB / 366.9 MB, free: 4.199 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007379/0.128, allocations: 295.7 kB / 367.2 MB, free: 3.91 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001229/0.1281, allocations: 139.5 kB / 367.3 MB, free: 3.773 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003528/0.1285, allocations: 330.4 kB / 367.7 MB, free: 3.449 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001202/0.1297, allocations: 0.9655 MB / 368.6 MB, free: 2.48 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.361e-06/0.1297, allocations: 0 / 368.6 MB, free: 2.48 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.1297, allocations: 0 / 368.6 MB, free: 2.48 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.273e-05/0.1298, allocations: 0 / 368.6 MB, free: 2.48 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.004027/0.1338, allocations: 1.272 MB / 369.9 MB, free: 1.156 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.1339, allocations: 12.03 kB / 369.9 MB, free: 1.145 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001569/0.134, allocations: 118.8 kB / 370 MB, free: 1.02 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001391/0.1354, allocations: 204 kB / 370.2 MB, free: 0.8203 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002327/0.1357, allocations: 247.2 kB / 370.5 MB, free: 0.5391 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.062e-05/0.1357, allocations: 54.38 kB / 370.5 MB, free: 500 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001386/0.1359, allocations: 72.38 kB / 370.6 MB, free: 428 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2026/0.3384, allocations: 0.7676 MB / 371.4 MB, free: 20.17 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.109e-05/0.3385, allocations: 2.984 kB / 371.4 MB, free: 20.17 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.591e-05/0.3386, allocations: 30.91 kB / 371.4 MB, free: 20.17 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.227e-05/0.3386, allocations: 18.88 kB / 371.4 MB, free: 20.17 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001326/0.3399, allocations: 0.659 MB / 372.1 MB, free: 20 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003948/0.3439, allocations: 3.274 MB / 375.3 MB, free: 17.61 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002078/0.346, allocations: 2.078 MB / 377.4 MB, free: 15.78 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005487/0.3466, allocations: 319.2 kB / 377.7 MB, free: 15.66 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001305/0.3467, allocations: 183.1 kB / 377.9 MB, free: 15.46 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.08e-05/0.3467, allocations: 42.81 kB / 377.9 MB, free: 15.42 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 2.485e-06/0.3467, allocations: 0 / 377.9 MB, free: 15.42 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.002398/0.3491, allocations: 1.137 MB / 379.1 MB, free: 14.89 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.271e-05/0.3492, allocations: 112.5 kB / 379.2 MB, free: 14.76 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002998/0.3495, allocations: 276.7 kB / 379.5 MB, free: 14.6 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.763e-05/0.3496, allocations: 37.45 kB / 379.5 MB, free: 14.56 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001495/0.3497, allocations: 299.2 kB / 379.8 MB, free: 14.32 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001552/0.3499, allocations: 242.3 kB / 380 MB, free: 14.13 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001958/0.3501, allocations: 143.2 kB / 380.2 MB, free: 14.05 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.18e-05/0.3502, allocations: 352.2 kB / 380.5 MB, free: 13.73 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004554/0.3506, allocations: 226.7 kB / 380.7 MB, free: 13.65 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005139/0.3512, allocations: 387.5 kB / 381.1 MB, free: 13.4 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000959/0.3521, allocations: 0.6306 MB / 381.7 MB, free: 13.02 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.3521, allocations: 6.344 kB / 381.7 MB, free: 13.02 MB / 302.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001444/0.3536, allocations: 0.8253 MB / 382.6 MB, free: 12.66 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.3536, allocations: 6.75 kB / 382.6 MB, free: 12.66 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.3536, allocations: 4.625 kB / 382.6 MB, free: 12.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003758/0.354, allocations: 131.4 kB / 382.7 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005999/0.3546, allocations: 158.2 kB / 382.9 MB, free: 12.6 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002486/0.3571, allocations: 3.786 MB / 386.7 MB, free: 9.121 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004701/0.3576, allocations: 89.92 kB / 386.7 MB, free: 9.066 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.09e-05/0.3577, allocations: 33.19 kB / 386.8 MB, free: 9.059 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.0002222/0.3579, allocations: 199 kB / 387 MB, free: 8.883 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.272e-05/0.358, allocations: 44.89 kB / 387 MB, free: 8.859 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001414/0.3594, allocations: 0.739 MB / 387.8 MB, free: 8.516 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/0.3594, allocations: 11.59 kB / 387.8 MB, free: 8.512 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.3595, allocations: 7.156 kB / 387.8 MB, free: 8.508 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.866e-06/0.3595, allocations: 7.656 kB / 387.8 MB, free: 8.504 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002289/0.3618, allocations: 1.495 MB / 389.3 MB, free: 7.699 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.3618, allocations: 0.5625 kB / 389.3 MB, free: 7.699 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004797/0.3623, allocations: 113.8 kB / 389.4 MB, free: 7.688 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002769/0.3625, allocations: 114.9 kB / 389.5 MB, free: 7.645 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.928e-05/0.3626, allocations: 17.77 kB / 389.5 MB, free: 7.633 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001985/0.3646, allocations: 3.349 MB / 392.9 MB, free: 4.508 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.3646, allocations: 0.7969 kB / 392.9 MB, free: 4.508 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001891/0.3665, allocations: 1.12 MB / 394 MB, free: 3.918 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.136e-05/0.3666, allocations: 120.2 kB / 394.1 MB, free: 3.797 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.955e-05/0.3667, allocations: 11.56 kB / 394.1 MB, free: 3.789 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003764/0.3671, allocations: 36.06 kB / 394.1 MB, free: 3.773 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001616/0.3672, allocations: 55.8 kB / 394.2 MB, free: 3.762 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.006e-05/0.3673, allocations: 19.86 kB / 394.2 MB, free: 3.758 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001994/0.3675, allocations: 193.8 kB / 394.4 MB, free: 3.645 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3675, allocations: 0 / 394.4 MB, free: 3.645 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009632/0.3685, allocations: 218.7 kB / 394.6 MB, free: 3.59 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.002271/0.3707, allocations: 1.718 MB / 396.3 MB, free: 2.441 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002078/0.3728, allocations: 0.9033 MB / 397.2 MB, free: 1.98 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.3728, allocations: 5.219 kB / 397.2 MB, free: 1.977 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001007/0.3739, allocations: 0.557 MB / 397.8 MB, free: 1.629 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005998/0.3745, allocations: 43.69 kB / 397.8 MB, free: 1.602 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007267/0.3818, allocations: 5.077 MB / 402.9 MB, free: 14.36 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003869/0.3822, allocations: 0.8627 MB / 403.8 MB, free: 13.64 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003948/0.3826, allocations: 84.34 kB / 403.9 MB, free: 13.59 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002579/0.3828, allocations: 202.7 kB / 404.1 MB, free: 13.42 MB / 318.1 MB Notification: Performance of SimCode: time 9.42e-07/0.3829, allocations: 0 / 404.1 MB, free: 13.42 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03129/0.4141, allocations: 10.42 MB / 414.5 MB, free: 4.723 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002038/0.4144, allocations: 261.5 kB / 414.7 MB, free: 4.461 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.168/2.582, allocations: 2.812 kB / 414.7 MB, free: 4.461 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 & /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.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