Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.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.FundamentalWave.Examples.Components.SinglePhaseInductance,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001084/0.001084, allocations: 121.6 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001186/0.001186, allocations: 203.9 kB / 18.74 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.371/1.371, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 63.88 kB / 358.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2928/0.294, allocations: 50.54 MB / 408.7 MB, free: 1.504 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.003957/0.298, allocations: 3.312 MB / 412.1 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001959/0.3, allocations: 1.401 MB / 413.5 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001621/0.3002, allocations: 7.938 kB / 413.5 MB, free: 12.76 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003947/0.3006, allocations: 151.1 kB / 413.6 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008643/0.3015, allocations: 429.2 kB / 414 MB, free: 12.2 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003709/0.3018, allocations: 179.5 kB / 414.2 MB, free: 12.02 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005198/0.3024, allocations: 462 kB / 414.7 MB, free: 11.57 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002204/0.3026, allocations: 156.2 kB / 414.8 MB, free: 11.41 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001858/0.3028, allocations: 167.4 kB / 415 MB, free: 11.25 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002347/0.303, allocations: 207.1 kB / 415.2 MB, free: 11.04 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.641e-05/0.3031, allocations: 36 kB / 415.2 MB, free: 11.01 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002717/0.3034, allocations: 175.8 kB / 415.4 MB, free: 10.84 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.075e-05/0.3034, allocations: 79.7 kB / 415.5 MB, free: 10.76 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001615/0.3036, allocations: 199 kB / 415.7 MB, free: 10.56 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005853/0.3042, allocations: 0.5476 MB / 416.2 MB, free: 10.02 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.3042, allocations: 0 / 416.2 MB, free: 10.02 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3042, allocations: 0 / 416.2 MB, free: 10.02 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.3042, allocations: 0 / 416.2 MB, free: 10.02 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001356/0.3056, allocations: 0.7598 MB / 417 MB, free: 9.203 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.3056, allocations: 8.031 kB / 417 MB, free: 9.195 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.012e-05/0.3057, allocations: 70.72 kB / 417 MB, free: 9.117 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007263/0.3064, allocations: 116.6 kB / 417.2 MB, free: 9.004 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004233/0.3069, allocations: 325.7 kB / 417.5 MB, free: 8.645 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.231e-05/0.3069, allocations: 25.38 kB / 417.5 MB, free: 8.621 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.674e-05/0.307, allocations: 36.36 kB / 417.5 MB, free: 8.586 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005469/0.3075, allocations: 361.4 kB / 417.9 MB, free: 8.219 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.3076, allocations: 0 / 417.9 MB, free: 8.219 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.288e-05/0.3076, allocations: 12 kB / 417.9 MB, free: 8.207 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.3076, allocations: 8 kB / 417.9 MB, free: 8.199 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004473/0.3081, allocations: 254.1 kB / 418.2 MB, free: 7.949 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001817/0.3099, allocations: 1.312 MB / 419.5 MB, free: 6.535 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003517/0.3102, allocations: 197.2 kB / 419.7 MB, free: 6.324 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001494/0.3104, allocations: 85.69 kB / 419.7 MB, free: 6.234 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008518/0.3113, allocations: 1.2 MB / 420.9 MB, free: 4.859 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.049e-05/0.3113, allocations: 38.56 kB / 421 MB, free: 4.812 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.212e-06/0.3113, allocations: 4 kB / 421 MB, free: 4.809 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005043/0.3118, allocations: 225.4 kB / 421.2 MB, free: 4.582 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.86e-05/0.3119, allocations: 81.11 kB / 421.3 MB, free: 4.484 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002494/0.3121, allocations: 283 kB / 421.6 MB, free: 4.199 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/0.3122, allocations: 33.7 kB / 421.6 MB, free: 4.16 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001285/0.3123, allocations: 248.1 kB / 421.8 MB, free: 3.914 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.078e-05/0.3123, allocations: 63.48 kB / 421.9 MB, free: 3.852 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.243e-05/0.3124, allocations: 69.97 kB / 422 MB, free: 3.773 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.3125, allocations: 334.8 kB / 422.3 MB, free: 3.438 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001395/0.3127, allocations: 64.62 kB / 422.4 MB, free: 3.375 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002016/0.3129, allocations: 206.3 kB / 422.6 MB, free: 3.113 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003597/0.3133, allocations: 284.9 kB / 422.8 MB, free: 2.773 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.645e-06/0.3133, allocations: 4 kB / 422.8 MB, free: 2.77 MB / 334.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004794/0.3138, allocations: 317.4 kB / 423.1 MB, free: 2.453 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.906e-05/0.3138, allocations: 11.98 kB / 423.2 MB, free: 2.441 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/0.3138, allocations: 7.938 kB / 423.2 MB, free: 2.434 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.961e-05/0.3138, allocations: 11.94 kB / 423.2 MB, free: 2.422 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002636/0.3141, allocations: 79.84 kB / 423.3 MB, free: 2.344 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.298e-05/0.3141, allocations: 11.98 kB / 423.3 MB, free: 2.332 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001872/0.3143, allocations: 35.77 kB / 423.3 MB, free: 2.297 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.084e-05/0.3144, allocations: 20.16 kB / 423.3 MB, free: 2.277 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001329/0.3145, allocations: 153.7 kB / 423.5 MB, free: 2.117 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.489e-05/0.3146, allocations: 27.81 kB / 423.5 MB, free: 2.09 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.797e-05/0.3146, allocations: 33.78 kB / 423.5 MB, free: 2.059 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.3146, allocations: 3.938 kB / 423.5 MB, free: 2.055 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.3147, allocations: 4 kB / 423.5 MB, free: 2.051 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.3147, allocations: 3.984 kB / 423.5 MB, free: 2.047 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006389/0.3153, allocations: 0.5069 MB / 424 MB, free: 1.48 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.3153, allocations: 7.938 kB / 424.1 MB, free: 1.473 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002/0.3155, allocations: 39.97 kB / 424.1 MB, free: 1.434 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.3155, allocations: 4 kB / 424.1 MB, free: 1.43 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/0.3156, allocations: 4 kB / 424.1 MB, free: 1.426 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.3156, allocations: 3.938 kB / 424.1 MB, free: 1.422 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.3156, allocations: 4 kB / 424.1 MB, free: 1.418 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005075/0.3161, allocations: 419.6 kB / 424.5 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.49e-05/0.3162, allocations: 116.8 kB / 424.6 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.773e-05/0.3162, allocations: 8 kB / 424.6 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002037/0.3164, allocations: 15.98 kB / 424.7 MB, free: 0.832 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.203e-05/0.3165, allocations: 12.05 kB / 424.7 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.201e-05/0.3165, allocations: 8 kB / 424.7 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001757/0.3167, allocations: 202 kB / 424.9 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3167, allocations: 0 / 424.9 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003946/0.3171, allocations: 75.84 kB / 425 MB, free: 0.543 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (inductor_e.i,converter_m.Phi.re) * 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 (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008004/0.3179, allocations: 0.9711 MB / 425.9 MB, free: 15.54 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003756/0.3183, allocations: 195.2 kB / 426.1 MB, free: 15.36 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3183, allocations: 0 / 426.1 MB, free: 15.36 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001325/0.3184, allocations: 73.03 kB / 426.2 MB, free: 15.29 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003951/0.3188, allocations: 34.72 kB / 426.2 MB, free: 15.25 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003278/0.3221, allocations: 3.127 MB / 429.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003015/0.3224, allocations: 0.7714 MB / 430.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001108/0.3226, allocations: 34.95 kB / 430.1 MB, free: 11.08 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001327/0.3227, allocations: 103.4 kB / 430.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3227, allocations: 0 / 430.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02478/0.3475, allocations: 5.566 MB / 435.8 MB, free: 5.57 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.816/8.164, allocations: 11.92 kB / 435.8 MB, free: 5.559 MB / 350.1 MB (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01 Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance.fmu > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/SinglePhaseInductance/SinglePhaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches