Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.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.Leakage.GeneralLeakage,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_GeneralLeakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_GeneralLeakage",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.001281/0.001281, allocations: 110.2 kB / 17.06 MB, free: 5.82 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.001242/0.001242, allocations: 193.4 kB / 18 MB, free: 4.965 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.47/1.47, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 51.91 kB / 350.8 MB, free: 3.77 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2403/0.2418, allocations: 49.44 MB / 400.2 MB, free: 8.414 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.004809/0.2467, allocations: 2.824 MB / 403.1 MB, free: 5.984 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00235/0.2491, allocations: 1.156 MB / 404.2 MB, free: 4.824 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003053/0.2494, allocations: 8 kB / 404.2 MB, free: 4.816 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001597/0.2511, allocations: 0.6223 MB / 404.9 MB, free: 4.191 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004017/0.2515, allocations: 131.1 kB / 405 MB, free: 4.062 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001427/0.2529, allocations: 0.683 MB / 405.7 MB, free: 3.379 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004861/0.2534, allocations: 306.5 kB / 406 MB, free: 3.078 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005068/0.2539, allocations: 274.8 kB / 406.2 MB, free: 2.805 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001959/0.2542, allocations: 119.5 kB / 406.3 MB, free: 2.688 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002291/0.2544, allocations: 171.4 kB / 406.5 MB, free: 2.52 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.076e-05/0.2544, allocations: 24 kB / 406.5 MB, free: 2.496 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003793/0.2548, allocations: 179.8 kB / 406.7 MB, free: 2.32 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.818e-05/0.2549, allocations: 63.77 kB / 406.8 MB, free: 2.258 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001515/0.2551, allocations: 147.3 kB / 406.9 MB, free: 2.113 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000675/0.2557, allocations: 0.4971 MB / 407.4 MB, free: 1.617 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.2558, allocations: 0 / 407.4 MB, free: 1.617 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2558, allocations: 0 / 407.4 MB, free: 1.617 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.507e-06/0.2558, allocations: 7.984 kB / 407.4 MB, free: 1.609 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001678/0.2575, allocations: 0.7287 MB / 408.2 MB, free: 0.832 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.2575, allocations: 11.97 kB / 408.2 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.907e-05/0.2576, allocations: 70.72 kB / 408.2 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008104/0.2584, allocations: 128.6 kB / 408.4 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003878/0.2588, allocations: 256.6 kB / 408.6 MB, free: 336 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.836e-05/0.2589, allocations: 25.03 kB / 408.6 MB, free: 312 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.426e-05/0.2589, allocations: 36.12 kB / 408.7 MB, free: 276 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006193/0.2595, allocations: 333 kB / 409 MB, free: 15.93 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.314e-05/0.2596, allocations: 3.953 kB / 409 MB, free: 15.93 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.689e-05/0.2596, allocations: 20 kB / 409 MB, free: 15.91 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.143e-05/0.2596, allocations: 8 kB / 409 MB, free: 15.9 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004321/0.2601, allocations: 238.5 kB / 409.3 MB, free: 15.67 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002044/0.2621, allocations: 1.44 MB / 410.7 MB, free: 14.09 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008191/0.263, allocations: 0.6943 MB / 411.4 MB, free: 13.28 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001676/0.2631, allocations: 106.5 kB / 411.5 MB, free: 13.17 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001209/0.2633, allocations: 85.09 kB / 411.6 MB, free: 13.07 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.942e-05/0.2633, allocations: 38.56 kB / 411.6 MB, free: 13.02 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 1.553e-06/0.2633, allocations: 3.938 kB / 411.6 MB, free: 13.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.001234/0.2646, allocations: 491.5 kB / 412.1 MB, free: 12.51 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.322e-05/0.2646, allocations: 51.41 kB / 412.2 MB, free: 12.45 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001817/0.2648, allocations: 183.9 kB / 412.3 MB, free: 12.25 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.676e-05/0.2648, allocations: 33.7 kB / 412.4 MB, free: 12.21 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/0.265, allocations: 176.4 kB / 412.5 MB, free: 12.04 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.305e-05/0.265, allocations: 87.25 kB / 412.6 MB, free: 11.95 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.827e-05/0.2651, allocations: 57.94 kB / 412.7 MB, free: 11.89 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.2653, allocations: 326.8 kB / 413 MB, free: 11.56 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001216/0.2654, allocations: 68.53 kB / 413.1 MB, free: 11.49 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001668/0.2656, allocations: 133 kB / 413.2 MB, free: 11.34 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003005/0.2659, allocations: 212.2 kB / 413.4 MB, free: 11.11 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.2659, allocations: 0 / 413.4 MB, free: 11.11 MB / 334.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005585/0.2665, allocations: 328.6 kB / 413.7 MB, free: 10.78 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.2665, allocations: 8 kB / 413.7 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.2665, allocations: 0 / 413.7 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003222/0.2668, allocations: 84.95 kB / 413.8 MB, free: 10.69 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001545/0.267, allocations: 43.92 kB / 413.9 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002172/0.2692, allocations: 2.037 MB / 415.9 MB, free: 8.465 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001301/0.2693, allocations: 23.78 kB / 415.9 MB, free: 8.441 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.05e-05/0.2693, allocations: 12 kB / 415.9 MB, free: 8.43 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001557/0.2695, allocations: 149.8 kB / 416.1 MB, free: 8.273 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.61e-05/0.2696, allocations: 23.83 kB / 416.1 MB, free: 8.25 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005566/0.2701, allocations: 277.7 kB / 416.4 MB, free: 7.969 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.2701, allocations: 0 / 416.4 MB, free: 7.969 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.2701, allocations: 4 kB / 416.4 MB, free: 7.965 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.2701, allocations: 4 kB / 416.4 MB, free: 7.961 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000983/0.2711, allocations: 0.6932 MB / 417.1 MB, free: 7.207 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.2711, allocations: 0 / 417.1 MB, free: 7.207 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001169/0.2713, allocations: 27.92 kB / 417.1 MB, free: 7.18 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002272/0.2715, allocations: 76.81 kB / 417.2 MB, free: 7.102 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.614e-05/0.2715, allocations: 4.266 kB / 417.2 MB, free: 7.098 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002052/0.2736, allocations: 2.03 MB / 419.2 MB, free: 4.93 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.2736, allocations: 3.984 kB / 419.2 MB, free: 4.926 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006557/0.2743, allocations: 448.6 kB / 419.6 MB, free: 4.469 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/0.2744, allocations: 117 kB / 419.8 MB, free: 4.336 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.391e-05/0.2744, allocations: 4 kB / 419.8 MB, free: 4.332 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.2745, allocations: 4 kB / 419.8 MB, free: 4.328 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.794e-05/0.2746, allocations: 15.98 kB / 419.8 MB, free: 4.312 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.34e-05/0.2746, allocations: 7.984 kB / 419.8 MB, free: 4.305 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001158/0.2747, allocations: 127.5 kB / 419.9 MB, free: 4.18 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2747, allocations: 4 kB / 419.9 MB, free: 4.176 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004393/0.2752, allocations: 99.84 kB / 420 MB, free: 4.078 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (constantSource.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 (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001098/0.2763, allocations: 1.008 MB / 421 MB, free: 3.043 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006152/0.2769, allocations: 350.4 kB / 421.4 MB, free: 2.688 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.2769, allocations: 448 / 421.4 MB, free: 2.688 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003426/0.2773, allocations: 254.4 kB / 421.6 MB, free: 2.426 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003092/0.2776, allocations: 20.28 kB / 421.6 MB, free: 2.406 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003226/0.2808, allocations: 2.525 MB / 424.2 MB, free: 15.76 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004067/0.2812, allocations: 0.7599 MB / 424.9 MB, free: 14.97 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.126e-05/0.2813, allocations: 17.95 kB / 424.9 MB, free: 14.95 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001005/0.2814, allocations: 75.41 kB / 425 MB, free: 14.88 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2815, allocations: 0 / 425 MB, free: 14.88 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03147/0.3129, allocations: 5.064 MB / 430.1 MB, free: 9.984 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.11/10.43, allocations: 14.92 kB / 430.1 MB, free: 9.977 MB / 350.1 MB (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_GeneralLeakage_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_GeneralLeakage.fmu > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/GeneralLeakage/GeneralLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches