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.001209/0.001209, allocations: 109.9 kB / 17.06 MB, free: 5.969 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.001317/0.001317, allocations: 200 kB / 18.01 MB, free: 5.055 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.32/1.32, allocations: 222.9 MB / 241.7 MB, free: 15.06 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009968/0.0009968, allocations: 47.92 kB / 350.8 MB, free: 3.711 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2324/0.2334, allocations: 49.44 MB / 400.2 MB, free: 8.391 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.004305/0.2377, allocations: 2.831 MB / 403.1 MB, free: 5.949 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002005/0.2398, allocations: 1.152 MB / 404.2 MB, free: 4.793 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002537/0.2401, allocations: 8 kB / 404.2 MB, free: 4.785 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001614/0.2417, allocations: 0.6185 MB / 404.9 MB, free: 4.164 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004631/0.2422, allocations: 131 kB / 405 MB, free: 4.035 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001343/0.2436, allocations: 0.6958 MB / 405.7 MB, free: 3.34 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005305/0.2441, allocations: 290.6 kB / 406 MB, free: 3.055 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005095/0.2446, allocations: 268.5 kB / 406.2 MB, free: 2.789 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002262/0.2449, allocations: 135.5 kB / 406.4 MB, free: 2.656 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002491/0.2451, allocations: 163.3 kB / 406.5 MB, free: 2.496 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.173e-05/0.2452, allocations: 28 kB / 406.5 MB, free: 2.469 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003806/0.2456, allocations: 175.9 kB / 406.7 MB, free: 2.297 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.146e-05/0.2457, allocations: 67.7 kB / 406.8 MB, free: 2.23 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00017/0.2458, allocations: 143.3 kB / 406.9 MB, free: 2.09 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007491/0.2466, allocations: 0.4907 MB / 407.4 MB, free: 1.598 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.2466, allocations: 0 / 407.4 MB, free: 1.598 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.2466, allocations: 0 / 407.4 MB, free: 1.598 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.348e-05/0.2466, allocations: 8 kB / 407.4 MB, free: 1.59 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.001815/0.2484, allocations: 0.7139 MB / 408.1 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/0.2485, allocations: 16.02 kB / 408.1 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.857e-05/0.2486, allocations: 70.7 kB / 408.2 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008298/0.2494, allocations: 128.5 kB / 408.3 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003856/0.2498, allocations: 264.4 kB / 408.6 MB, free: 320 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.412e-05/0.2499, allocations: 21.03 kB / 408.6 MB, free: 300 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.595e-05/0.2499, allocations: 36.12 kB / 408.7 MB, free: 264 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00056/0.2505, allocations: 329.1 kB / 409 MB, free: 15.92 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.83e-05/0.2505, allocations: 0 / 409 MB, free: 15.92 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.041e-05/0.2506, allocations: 16 kB / 409 MB, free: 15.91 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.367e-06/0.2506, allocations: 12 kB / 409 MB, free: 15.89 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000391/0.251, allocations: 238.5 kB / 409.2 MB, free: 15.66 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00198/0.253, allocations: 1.439 MB / 410.7 MB, free: 14.09 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006626/0.2536, allocations: 0.7096 MB / 411.4 MB, free: 13.25 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001594/0.2538, allocations: 100.8 kB / 411.5 MB, free: 13.15 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.925e-05/0.2539, allocations: 93.09 kB / 411.6 MB, free: 13.04 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.467e-05/0.254, allocations: 30.56 kB / 411.6 MB, free: 13 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 1.483e-06/0.254, allocations: 0 / 411.6 MB, free: 13 MB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.001192/0.2552, allocations: 0.4912 MB / 412.1 MB, free: 12.49 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.529e-05/0.2552, allocations: 55.41 kB / 412.1 MB, free: 12.42 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001686/0.2554, allocations: 172 kB / 412.3 MB, free: 12.24 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.884e-05/0.2554, allocations: 25.7 kB / 412.3 MB, free: 12.21 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.2555, allocations: 180 kB / 412.5 MB, free: 12.03 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.154e-05/0.2556, allocations: 82.77 kB / 412.6 MB, free: 11.95 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.116e-05/0.2557, allocations: 57.89 kB / 412.7 MB, free: 11.88 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.2558, allocations: 330.8 kB / 413 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001318/0.256, allocations: 68.53 kB / 413 MB, free: 11.48 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000144/0.2561, allocations: 125 kB / 413.2 MB, free: 11.34 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002759/0.2564, allocations: 216.1 kB / 413.4 MB, free: 11.11 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.2564, allocations: 0 / 413.4 MB, free: 11.11 MB / 334.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005593/0.257, allocations: 336.4 kB / 413.7 MB, free: 10.77 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.257, allocations: 4 kB / 413.7 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.257, allocations: 4 kB / 413.7 MB, free: 10.76 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002986/0.2573, allocations: 81.02 kB / 413.8 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001488/0.2575, allocations: 39.92 kB / 413.8 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001939/0.2594, allocations: 2.022 MB / 415.9 MB, free: 8.477 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001432/0.2596, allocations: 27.69 kB / 415.9 MB, free: 8.449 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.786e-05/0.2596, allocations: 12 kB / 415.9 MB, free: 8.438 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.0001458/0.2598, allocations: 145.8 kB / 416 MB, free: 8.285 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.769e-05/0.2598, allocations: 19.75 kB / 416.1 MB, free: 8.266 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005323/0.2603, allocations: 288 kB / 416.3 MB, free: 7.973 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.2604, allocations: 7.984 kB / 416.3 MB, free: 7.965 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.2604, allocations: 0 / 416.3 MB, free: 7.965 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.2604, allocations: 0 / 416.3 MB, free: 7.965 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009285/0.2613, allocations: 0.697 MB / 417 MB, free: 7.207 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.2613, allocations: 4 kB / 417 MB, free: 7.203 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000112/0.2615, allocations: 23.98 kB / 417.1 MB, free: 7.18 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002285/0.2617, allocations: 72.75 kB / 417.1 MB, free: 7.105 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.817e-05/0.2617, allocations: 12 kB / 417.2 MB, free: 7.094 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001808/0.2635, allocations: 2.018 MB / 419.2 MB, free: 4.938 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.2636, allocations: 0 / 419.2 MB, free: 4.938 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006006/0.2642, allocations: 448.5 kB / 419.6 MB, free: 4.48 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.034e-05/0.2643, allocations: 112.8 kB / 419.7 MB, free: 4.352 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.67e-05/0.2643, allocations: 8 kB / 419.7 MB, free: 4.344 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.2644, allocations: 4 kB / 419.7 MB, free: 4.34 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.272e-05/0.2645, allocations: 15.97 kB / 419.7 MB, free: 4.324 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.301e-05/0.2645, allocations: 8 kB / 419.8 MB, free: 4.316 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.85e-05/0.2646, allocations: 127.5 kB / 419.9 MB, free: 4.191 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2646, allocations: 0 / 419.9 MB, free: 4.191 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004492/0.265, allocations: 103.8 kB / 420 MB, free: 4.09 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.0009523/0.266, allocations: 1.012 MB / 421 MB, free: 3.051 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000579/0.2666, allocations: 350.4 kB / 421.3 MB, free: 2.695 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2666, allocations: 448 / 421.3 MB, free: 2.695 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003116/0.2669, allocations: 250.5 kB / 421.6 MB, free: 2.438 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003099/0.2672, allocations: 18.44 kB / 421.6 MB, free: 2.422 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003081/0.2703, allocations: 2.517 MB / 424.1 MB, free: 15.79 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003183/0.2707, allocations: 0.7599 MB / 424.9 MB, free: 15 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.58e-05/0.2708, allocations: 25.94 kB / 424.9 MB, free: 14.97 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.635e-05/0.2709, allocations: 67.42 kB / 425 MB, free: 14.9 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.2709, allocations: 4 kB / 425 MB, free: 14.9 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02592/0.2968, allocations: 5.125 MB / 430.1 MB, free: 9.941 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.61/9.907, allocations: 11.34 kB / 430.1 MB, free: 9.934 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