Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.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.FundamentalWave.Examples.Components.SinglePhaseInductance,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 109.7 kB / 17.06 MB, free: 5.812 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.001537/0.001537, allocations: 200 kB / 18.01 MB, free: 4.941 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.442/1.442, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 47.92 kB / 350.8 MB, free: 3.734 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2871/0.2885, allocations: 49.43 MB / 400.2 MB, free: 8.617 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.005488/0.2941, allocations: 3.295 MB / 403.5 MB, free: 5.648 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002313/0.2964, allocations: 1.292 MB / 404.8 MB, free: 4.348 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000178/0.2966, allocations: 8 kB / 404.8 MB, free: 4.34 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004364/0.2971, allocations: 147 kB / 405 MB, free: 4.195 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00103/0.2981, allocations: 459.5 kB / 405.4 MB, free: 3.746 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003626/0.2985, allocations: 167.5 kB / 405.6 MB, free: 3.582 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006975/0.2992, allocations: 446.1 kB / 406 MB, free: 3.145 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002981/0.2995, allocations: 152.2 kB / 406.2 MB, free: 3 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000212/0.2997, allocations: 163.3 kB / 406.3 MB, free: 2.84 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000306/0.3, allocations: 207.1 kB / 406.5 MB, free: 2.637 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.956e-05/0.3001, allocations: 36 kB / 406.6 MB, free: 2.602 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003374/0.3005, allocations: 159.9 kB / 406.7 MB, free: 2.445 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.877e-05/0.3006, allocations: 83.69 kB / 406.8 MB, free: 2.363 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001886/0.3008, allocations: 187.1 kB / 407 MB, free: 2.18 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007313/0.3015, allocations: 0.5369 MB / 407.5 MB, free: 1.641 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.3015, allocations: 4 kB / 407.5 MB, free: 1.637 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.3015, allocations: 4 kB / 407.5 MB, free: 1.633 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.398e-06/0.3015, allocations: 0 / 407.5 MB, free: 1.633 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001541/0.3031, allocations: 0.7519 MB / 408.3 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.3031, allocations: 8.031 kB / 408.3 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001001/0.3032, allocations: 70.72 kB / 408.4 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005828/0.3038, allocations: 104.6 kB / 408.5 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000493/0.3043, allocations: 300.7 kB / 408.8 MB, free: 316 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.576e-05/0.3044, allocations: 33.38 kB / 408.8 MB, free: 284 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.905e-05/0.3044, allocations: 32.38 kB / 408.8 MB, free: 252 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006736/0.3051, allocations: 357.5 kB / 409.2 MB, free: 15.88 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.3051, allocations: 3.938 kB / 409.2 MB, free: 15.88 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.497e-05/0.3052, allocations: 16 kB / 409.2 MB, free: 15.86 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.3052, allocations: 8 kB / 409.2 MB, free: 15.85 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005078/0.3057, allocations: 242.1 kB / 409.4 MB, free: 15.62 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002036/0.3078, allocations: 1.312 MB / 410.7 MB, free: 14.2 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003854/0.3082, allocations: 193.2 kB / 410.9 MB, free: 13.99 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001666/0.3083, allocations: 85.69 kB / 411 MB, free: 13.9 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008468/0.3092, allocations: 0.8714 MB / 411.9 MB, free: 12.93 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.46e-05/0.3092, allocations: 38.5 kB / 411.9 MB, free: 12.88 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.633e-06/0.3092, allocations: 0 / 411.9 MB, free: 12.88 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005733/0.3098, allocations: 229.7 kB / 412.1 MB, free: 12.65 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.108e-05/0.3099, allocations: 84.98 kB / 412.2 MB, free: 12.55 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003066/0.3102, allocations: 287 kB / 412.5 MB, free: 12.26 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.651e-05/0.3102, allocations: 33.7 kB / 412.5 MB, free: 12.22 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001982/0.3105, allocations: 240 kB / 412.8 MB, free: 11.98 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.606e-05/0.3105, allocations: 71.41 kB / 412.8 MB, free: 11.91 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.839e-05/0.3106, allocations: 61.98 kB / 412.9 MB, free: 11.84 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001779/0.3108, allocations: 338.8 kB / 413.2 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001609/0.311, allocations: 68.61 kB / 413.3 MB, free: 11.43 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002584/0.3113, allocations: 198.4 kB / 413.5 MB, free: 11.18 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004479/0.3117, allocations: 303.2 kB / 413.8 MB, free: 10.82 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.3117, allocations: 0 / 413.8 MB, free: 10.82 MB / 334.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005521/0.3123, allocations: 309.2 kB / 414.1 MB, free: 10.52 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.3123, allocations: 4 kB / 414.1 MB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/0.3123, allocations: 8 kB / 414.1 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.064e-05/0.3123, allocations: 11.88 kB / 414.1 MB, free: 10.49 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002711/0.3126, allocations: 79.89 kB / 414.2 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.3126, allocations: 4.469 kB / 414.2 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001865/0.3128, allocations: 43.72 kB / 414.2 MB, free: 10.37 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.925e-05/0.3129, allocations: 20 kB / 414.3 MB, free: 10.35 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.0001585/0.313, allocations: 157.7 kB / 414.4 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.743e-05/0.3131, allocations: 27.81 kB / 414.4 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.748e-05/0.3132, allocations: 29.73 kB / 414.5 MB, free: 10.13 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.3132, allocations: 3.938 kB / 414.5 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.3132, allocations: 4 kB / 414.5 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.3132, allocations: 4 kB / 414.5 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007111/0.3139, allocations: 0.5034 MB / 415 MB, free: 9.555 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.584e-06/0.3139, allocations: 11.94 kB / 415 MB, free: 9.543 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001976/0.3142, allocations: 35.98 kB / 415 MB, free: 9.508 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.613e-06/0.3142, allocations: 4 kB / 415 MB, free: 9.504 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.98e-05/0.3142, allocations: 11.92 kB / 415.1 MB, free: 9.492 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.3142, allocations: 3.938 kB / 415.1 MB, free: 9.488 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.3142, allocations: 8.031 kB / 415.1 MB, free: 9.48 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005657/0.3148, allocations: 414.1 kB / 415.5 MB, free: 9.059 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.688e-05/0.3149, allocations: 112.8 kB / 415.6 MB, free: 8.93 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.833e-05/0.3149, allocations: 7.984 kB / 415.6 MB, free: 8.922 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001946/0.3151, allocations: 16.06 kB / 415.6 MB, free: 8.906 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.524e-05/0.3152, allocations: 11.98 kB / 415.6 MB, free: 8.895 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.324e-05/0.3152, allocations: 11.92 kB / 415.6 MB, free: 8.883 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001954/0.3154, allocations: 194 kB / 415.8 MB, free: 8.695 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3154, allocations: 0 / 415.8 MB, free: 8.695 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004196/0.3158, allocations: 87.78 kB / 415.9 MB, free: 8.609 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.0009102/0.3168, allocations: 0.9667 MB / 416.9 MB, free: 7.609 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003975/0.3172, allocations: 180.8 kB / 417 MB, free: 7.434 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3172, allocations: 3.938 kB / 417 MB, free: 7.43 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001428/0.3173, allocations: 75.97 kB / 417.1 MB, free: 7.355 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003994/0.3177, allocations: 34.56 kB / 417.2 MB, free: 7.324 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003957/0.3217, allocations: 3.122 MB / 420.3 MB, free: 3.988 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004218/0.3221, allocations: 0.7714 MB / 421 MB, free: 3.191 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001231/0.3223, allocations: 30.97 kB / 421.1 MB, free: 3.164 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001581/0.3224, allocations: 107.4 kB / 421.2 MB, free: 3.059 MB / 334.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3224, allocations: 0 / 421.2 MB, free: 3.059 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02877/0.3512, allocations: 5.496 MB / 426.7 MB, free: 13.71 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.067/8.418, allocations: 6.375 kB / 426.7 MB, free: 13.71 MB / 350.1 MB (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance.fmu > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches