Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,fileNamePrefix="Modelica_3_2_3_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.001423/0.001423, allocations: 108.4 kB / 17.73 MB, free: 5.188 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.001325/0.001325, allocations: 188.2 kB / 18.67 MB, free: 4.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.44/1.44, allocations: 205.1 MB / 224.5 MB, free: 12.21 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001691/0.001691, allocations: 47.92 kB / 328 MB, free: 3.801 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09225/0.09395, allocations: 46.62 MB / 374.6 MB, free: 5.074 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.005111/0.09911, allocations: 3.248 MB / 377.9 MB, free: 1.809 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002783/0.1019, allocations: 1.34 MB / 379.2 MB, free: 468 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002541/0.1022, allocations: 8 kB / 379.2 MB, free: 460 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005016/0.1028, allocations: 143.1 kB / 379.4 MB, free: 316 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.1894/0.2921, allocations: 357.5 kB / 379.7 MB, free: 9.219 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007261/0.2929, allocations: 262.1 kB / 380 MB, free: 9.219 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006674/0.2936, allocations: 450.5 kB / 380.4 MB, free: 9.215 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002516/0.2938, allocations: 155.2 kB / 380.6 MB, free: 9.199 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001979/0.294, allocations: 172.2 kB / 380.7 MB, free: 9.184 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002675/0.2943, allocations: 200.2 kB / 380.9 MB, free: 9.141 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.127e-05/0.2944, allocations: 34.22 kB / 381 MB, free: 9.141 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003837/0.2948, allocations: 155.5 kB / 381.1 MB, free: 9.141 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.848e-05/0.2949, allocations: 81.06 kB / 381.2 MB, free: 9.129 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00016/0.295, allocations: 191.9 kB / 381.4 MB, free: 9.074 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008205/0.2959, allocations: 0.5367 MB / 381.9 MB, free: 8.996 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.2959, allocations: 0 / 381.9 MB, free: 8.996 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.2959, allocations: 5.312 kB / 381.9 MB, free: 8.992 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.498e-06/0.2959, allocations: 0 / 381.9 MB, free: 8.992 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.001567/0.2975, allocations: 0.7504 MB / 382.7 MB, free: 8.496 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.28e-05/0.2975, allocations: 9.125 kB / 382.7 MB, free: 8.496 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.731e-05/0.2976, allocations: 69.61 kB / 382.8 MB, free: 8.457 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006201/0.2982, allocations: 105.9 kB / 382.9 MB, free: 8.434 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004926/0.2987, allocations: 312.6 kB / 383.2 MB, free: 8.195 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.288e-05/0.2988, allocations: 27.31 kB / 383.2 MB, free: 8.191 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.011e-05/0.2988, allocations: 33.09 kB / 383.2 MB, free: 8.191 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006119/0.2995, allocations: 357.4 kB / 383.6 MB, free: 8.129 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/0.2995, allocations: 0 / 383.6 MB, free: 8.129 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.233e-05/0.2995, allocations: 13.28 kB / 383.6 MB, free: 8.129 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.2995, allocations: 8.188 kB / 383.6 MB, free: 8.129 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005016/0.3, allocations: 249 kB / 383.8 MB, free: 8.129 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001939/0.302, allocations: 1.314 MB / 385.1 MB, free: 7.43 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003759/0.3024, allocations: 194.8 kB / 385.3 MB, free: 7.332 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001671/0.3026, allocations: 84.3 kB / 385.4 MB, free: 7.293 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006773/0.3033, allocations: 0.8796 MB / 386.3 MB, free: 6.422 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.11e-05/0.3033, allocations: 33.2 kB / 386.3 MB, free: 6.383 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.413e-06/0.3033, allocations: 3.656 kB / 386.3 MB, free: 6.383 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005521/0.3039, allocations: 224.9 kB / 386.6 MB, free: 6.281 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.854e-05/0.3039, allocations: 86.47 kB / 386.6 MB, free: 6.184 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002925/0.3042, allocations: 285.3 kB / 386.9 MB, free: 6.02 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/0.3042, allocations: 30.8 kB / 386.9 MB, free: 5.984 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001165/0.3043, allocations: 235.9 kB / 387.2 MB, free: 5.785 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.888e-05/0.3044, allocations: 68.05 kB / 387.2 MB, free: 5.734 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.505e-05/0.3045, allocations: 63.31 kB / 387.3 MB, free: 5.691 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.554e-05/0.3046, allocations: 337.7 kB / 387.6 MB, free: 5.367 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001527/0.3047, allocations: 71.27 kB / 387.7 MB, free: 5.344 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001975/0.3049, allocations: 203.8 kB / 387.9 MB, free: 5.152 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003522/0.3053, allocations: 291.9 kB / 388.2 MB, free: 4.926 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.3053, allocations: 2.078 kB / 388.2 MB, free: 4.926 MB / 318.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005043/0.3058, allocations: 314.3 kB / 388.5 MB, free: 4.812 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.3058, allocations: 8.391 kB / 388.5 MB, free: 4.812 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.3058, allocations: 8.5 kB / 388.5 MB, free: 4.809 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.234e-05/0.3059, allocations: 6.75 kB / 388.5 MB, free: 4.809 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002892/0.3062, allocations: 86.5 kB / 388.6 MB, free: 4.801 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.416e-05/0.3062, allocations: 15.16 kB / 388.6 MB, free: 4.801 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002057/0.3064, allocations: 37.75 kB / 388.7 MB, free: 4.777 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.545e-05/0.3064, allocations: 19.05 kB / 388.7 MB, free: 4.773 MB / 318.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.0001195/0.3066, allocations: 150.3 kB / 388.8 MB, free: 4.637 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.569e-05/0.3066, allocations: 29.83 kB / 388.9 MB, free: 4.621 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.434e-05/0.3067, allocations: 31.69 kB / 388.9 MB, free: 4.602 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/0.3067, allocations: 7.031 kB / 388.9 MB, free: 4.598 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/0.3067, allocations: 1.406 kB / 388.9 MB, free: 4.598 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.3067, allocations: 4.219 kB / 388.9 MB, free: 4.598 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006498/0.3074, allocations: 0.5011 MB / 389.4 MB, free: 4.211 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.3074, allocations: 5.25 kB / 389.4 MB, free: 4.211 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002139/0.3076, allocations: 48.81 kB / 389.5 MB, free: 4.203 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.3076, allocations: 6.031 kB / 389.5 MB, free: 4.199 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.817e-05/0.3077, allocations: 10.03 kB / 389.5 MB, free: 4.195 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.3077, allocations: 1.125 kB / 389.5 MB, free: 4.195 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.3077, allocations: 4.125 kB / 389.5 MB, free: 4.195 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005553/0.3082, allocations: 424.2 kB / 389.9 MB, free: 3.902 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.101e-05/0.3083, allocations: 115.6 kB / 390 MB, free: 3.781 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.744e-05/0.3083, allocations: 1.062 kB / 390 MB, free: 3.781 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002032/0.3085, allocations: 15.64 kB / 390 MB, free: 3.777 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.73e-05/0.3086, allocations: 11.92 kB / 390 MB, free: 3.777 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.295e-05/0.3086, allocations: 7.812 kB / 390 MB, free: 3.773 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001858/0.3088, allocations: 199.8 kB / 390.2 MB, free: 3.656 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3088, allocations: 0 / 390.2 MB, free: 3.656 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000453/0.3093, allocations: 86.22 kB / 390.3 MB, free: 3.633 MB / 318.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.0006718/0.31, allocations: 0.9598 MB / 391.3 MB, free: 2.805 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004106/0.3104, allocations: 190.5 kB / 391.5 MB, free: 2.758 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.3104, allocations: 1.188 kB / 391.5 MB, free: 2.758 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001434/0.3106, allocations: 68.34 kB / 391.5 MB, free: 2.742 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004337/0.311, allocations: 32.19 kB / 391.6 MB, free: 2.727 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003591/0.3146, allocations: 3.117 MB / 394.7 MB, free: 484 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003845/0.315, allocations: 0.7762 MB / 395.5 MB, free: 15.77 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001469/0.3152, allocations: 33.92 kB / 395.5 MB, free: 15.76 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001347/0.3153, allocations: 105.6 kB / 395.6 MB, free: 15.68 MB / 334.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3153, allocations: 0 / 395.6 MB, free: 15.68 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03082/0.3461, allocations: 5.49 MB / 401.1 MB, free: 14.53 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.247/8.593, allocations: 13.09 kB / 401.1 MB, free: 14.52 MB / 334.1 MB (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance.fmu > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/Components/SinglePhaseInductance/SinglePhaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches