Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.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.Leakage.GeneralLeakage,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_GeneralLeakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001691/0.001691, allocations: 121.7 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002035/0.002035, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.468/1.468, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001819/0.00182, allocations: 63.88 kB / 358.3 MB, free: 13.35 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2522/0.254, allocations: 50.56 MB / 408.8 MB, free: 1.477 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.004509/0.2586, allocations: 2.848 MB / 411.7 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002063/0.2607, allocations: 1.203 MB / 412.9 MB, free: 13.41 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001409/0.2609, allocations: 15.94 kB / 412.9 MB, free: 13.39 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001557/0.2625, allocations: 0.6224 MB / 413.5 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003683/0.2628, allocations: 143 kB / 413.7 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001313/0.2642, allocations: 0.6531 MB / 414.3 MB, free: 11.97 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004466/0.2646, allocations: 290.6 kB / 414.6 MB, free: 11.69 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004868/0.2651, allocations: 274.8 kB / 414.9 MB, free: 11.41 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002217/0.2653, allocations: 131.5 kB / 415 MB, free: 11.29 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002649/0.2656, allocations: 167.3 kB / 415.2 MB, free: 11.12 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.29e-05/0.2657, allocations: 24 kB / 415.2 MB, free: 11.1 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004199/0.2661, allocations: 191.8 kB / 415.4 MB, free: 10.91 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.134e-05/0.2662, allocations: 63.77 kB / 415.4 MB, free: 10.85 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001532/0.2663, allocations: 143.2 kB / 415.6 MB, free: 10.71 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006877/0.267, allocations: 0.4972 MB / 416.1 MB, free: 10.21 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.267, allocations: 8 kB / 416.1 MB, free: 10.2 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2671, allocations: 0 / 416.1 MB, free: 10.2 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.2671, allocations: 0 / 416.1 MB, free: 10.2 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001682/0.2688, allocations: 0.7287 MB / 416.8 MB, free: 9.426 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.2688, allocations: 12.03 kB / 416.8 MB, free: 9.414 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.536e-05/0.2689, allocations: 66.72 kB / 416.9 MB, free: 9.34 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008337/0.2697, allocations: 116.7 kB / 417 MB, free: 9.227 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004216/0.2702, allocations: 272.5 kB / 417.3 MB, free: 8.922 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.79e-05/0.2702, allocations: 25.03 kB / 417.3 MB, free: 8.898 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.574e-05/0.2703, allocations: 36.12 kB / 417.3 MB, free: 8.863 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005681/0.2708, allocations: 333 kB / 417.6 MB, free: 8.527 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.86e-05/0.2709, allocations: 4 kB / 417.7 MB, free: 8.523 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.548e-05/0.2709, allocations: 15.98 kB / 417.7 MB, free: 8.508 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.154e-05/0.2709, allocations: 8 kB / 417.7 MB, free: 8.5 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004833/0.2714, allocations: 238.5 kB / 417.9 MB, free: 8.27 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002172/0.2736, allocations: 1.432 MB / 419.3 MB, free: 6.699 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000782/0.2744, allocations: 0.7034 MB / 420 MB, free: 5.879 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001799/0.2746, allocations: 116.7 kB / 420.2 MB, free: 5.762 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002086/0.2748, allocations: 170.2 kB / 420.3 MB, free: 5.559 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.99e-05/0.2749, allocations: 34.56 kB / 420.4 MB, free: 5.516 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 1.834e-06/0.2749, allocations: 4 kB / 420.4 MB, free: 5.512 MB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.001298/0.2762, allocations: 498.4 kB / 420.8 MB, free: 5 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.753e-05/0.2762, allocations: 59.41 kB / 420.9 MB, free: 4.93 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001986/0.2764, allocations: 171.3 kB / 421.1 MB, free: 4.746 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.429e-05/0.2765, allocations: 33.64 kB / 421.1 MB, free: 4.707 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001338/0.2766, allocations: 176.4 kB / 421.3 MB, free: 4.531 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.138e-05/0.2767, allocations: 99.2 kB / 421.4 MB, free: 4.434 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.59e-05/0.2768, allocations: 49.98 kB / 421.4 MB, free: 4.379 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.277, allocations: 326.8 kB / 421.7 MB, free: 4.051 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001291/0.2771, allocations: 72.53 kB / 421.8 MB, free: 3.98 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001804/0.2773, allocations: 133 kB / 421.9 MB, free: 3.828 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003331/0.2776, allocations: 224.9 kB / 422.2 MB, free: 3.586 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.2777, allocations: 4 kB / 422.2 MB, free: 3.582 MB / 334.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006087/0.2783, allocations: 331.6 kB / 422.5 MB, free: 3.25 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.2783, allocations: 4 kB / 422.5 MB, free: 3.246 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.2783, allocations: 4 kB / 422.5 MB, free: 3.242 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003139/0.2786, allocations: 77.03 kB / 422.6 MB, free: 3.164 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001589/0.2788, allocations: 43.91 kB / 422.6 MB, free: 3.121 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002305/0.2811, allocations: 2.026 MB / 424.6 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001471/0.2813, allocations: 27.81 kB / 424.7 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.35e-05/0.2813, allocations: 12.06 kB / 424.7 MB, free: 0.9141 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.000171/0.2815, allocations: 149.8 kB / 424.8 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.396e-05/0.2816, allocations: 27.78 kB / 424.9 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005962/0.2822, allocations: 288 kB / 425.1 MB, free: 444 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.2822, allocations: 0 / 425.1 MB, free: 444 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.2822, allocations: 4 kB / 425.1 MB, free: 440 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.2822, allocations: 0 / 425.1 MB, free: 440 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001062/0.2833, allocations: 0.6895 MB / 425.8 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.2833, allocations: 0 / 425.8 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001229/0.2834, allocations: 27.98 kB / 425.9 MB, free: 15.65 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002418/0.2837, allocations: 72.8 kB / 425.9 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.873e-05/0.2837, allocations: 11.94 kB / 425.9 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002187/0.2859, allocations: 2.026 MB / 428 MB, free: 13.4 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.2859, allocations: 0 / 428 MB, free: 13.4 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007247/0.2866, allocations: 456.4 kB / 428.4 MB, free: 12.94 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001159/0.2868, allocations: 113 kB / 428.5 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.742e-05/0.2868, allocations: 8 kB / 428.5 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001165/0.2869, allocations: 4 kB / 428.5 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.397e-05/0.287, allocations: 19.97 kB / 428.6 MB, free: 12.78 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.599e-05/0.287, allocations: 12.06 kB / 428.6 MB, free: 12.77 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001267/0.2871, allocations: 127.2 kB / 428.7 MB, free: 12.64 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2871, allocations: 3.938 kB / 428.7 MB, free: 12.64 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000525/0.2877, allocations: 99.77 kB / 428.8 MB, free: 12.54 MB / 350.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.001163/0.2888, allocations: 1.003 MB / 429.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006816/0.2895, allocations: 354.5 kB / 430.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.2895, allocations: 0 / 430.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000373/0.2899, allocations: 250.4 kB / 430.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003256/0.2903, allocations: 23.98 kB / 430.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003384/0.2937, allocations: 2.506 MB / 432.9 MB, free: 8.238 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000412/0.2941, allocations: 0.7599 MB / 433.7 MB, free: 7.449 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.964e-05/0.2942, allocations: 25.94 kB / 433.7 MB, free: 7.422 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001167/0.2943, allocations: 71.42 kB / 433.8 MB, free: 7.352 MB / 350.1 MB Notification: Performance of SimCode: time 5.71e-07/0.2943, allocations: 0 / 433.8 MB, free: 7.352 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03273/0.3271, allocations: 5.093 MB / 438.9 MB, free: 2.43 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.18/10.51, allocations: 10.53 kB / 438.9 MB, free: 2.426 MB / 350.1 MB (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_GeneralLeakage_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_GeneralLeakage.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/GeneralLeakage/GeneralLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches