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.001193/0.001192, allocations: 114.4 kB / 17.74 MB, free: 5.355 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.001303/0.001302, allocations: 183.1 kB / 18.66 MB, free: 4.434 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.439/1.439, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001422/0.001422, allocations: 47.92 kB / 328 MB, free: 3.82 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.105, allocations: 46.62 MB / 374.6 MB, free: 5.094 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.00483/0.1099, allocations: 3.248 MB / 377.9 MB, free: 1.828 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00253/0.1124, allocations: 1.344 MB / 379.2 MB, free: 484 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000401/0.1128, allocations: 8 kB / 379.2 MB, free: 476 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005785/0.1135, allocations: 143.1 kB / 379.4 MB, free: 332 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2088/0.3223, allocations: 360.2 kB / 379.7 MB, free: 9.223 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007221/0.323, allocations: 265.5 kB / 380 MB, free: 9.223 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006704/0.3237, allocations: 450.5 kB / 380.4 MB, free: 9.219 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000235/0.3239, allocations: 154 kB / 380.6 MB, free: 9.207 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001818/0.3241, allocations: 167.6 kB / 380.7 MB, free: 9.191 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002543/0.3244, allocations: 202.1 kB / 380.9 MB, free: 9.148 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.967e-05/0.3245, allocations: 35.66 kB / 381 MB, free: 9.148 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003572/0.3248, allocations: 154.2 kB / 381.1 MB, free: 9.148 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.273e-05/0.3249, allocations: 84.39 kB / 381.2 MB, free: 9.137 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001571/0.3251, allocations: 200.4 kB / 381.4 MB, free: 9.082 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007947/0.3259, allocations: 0.5295 MB / 381.9 MB, free: 9.004 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.3259, allocations: 0.5625 kB / 381.9 MB, free: 9.004 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3259, allocations: 0.5 kB / 381.9 MB, free: 9.004 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.759e-06/0.3259, allocations: 0.625 kB / 381.9 MB, free: 9.004 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.001551/0.3274, allocations: 0.751 MB / 382.7 MB, free: 8.504 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.181e-05/0.3275, allocations: 9.812 kB / 382.7 MB, free: 8.504 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.8e-05/0.3276, allocations: 76.75 kB / 382.8 MB, free: 8.465 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006098/0.3282, allocations: 98.83 kB / 382.9 MB, free: 8.441 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005197/0.3287, allocations: 314.9 kB / 383.2 MB, free: 8.203 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.087e-05/0.3288, allocations: 25.84 kB / 383.2 MB, free: 8.199 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.902e-05/0.3289, allocations: 35.19 kB / 383.2 MB, free: 8.199 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000656/0.3295, allocations: 355.9 kB / 383.6 MB, free: 8.137 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.678e-05/0.3296, allocations: 0.8438 kB / 383.6 MB, free: 8.137 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.711e-05/0.3296, allocations: 12.62 kB / 383.6 MB, free: 8.137 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.395e-05/0.3296, allocations: 8.844 kB / 383.6 MB, free: 8.137 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005208/0.3301, allocations: 254.2 kB / 383.8 MB, free: 8.133 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002014/0.3322, allocations: 1.307 MB / 385.2 MB, free: 7.426 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003637/0.3325, allocations: 196.2 kB / 385.3 MB, free: 7.332 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001564/0.3327, allocations: 87.48 kB / 385.4 MB, free: 7.289 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006832/0.3334, allocations: 0.8721 MB / 386.3 MB, free: 6.422 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/0.3334, allocations: 41.38 kB / 386.3 MB, free: 6.379 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.362e-06/0.3334, allocations: 0 / 386.3 MB, free: 6.379 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005594/0.334, allocations: 220.4 kB / 386.6 MB, free: 6.285 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.901e-05/0.3341, allocations: 89.2 kB / 386.6 MB, free: 6.184 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000344/0.3344, allocations: 284.5 kB / 386.9 MB, free: 6.02 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/0.3344, allocations: 30.83 kB / 387 MB, free: 5.984 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001544/0.3346, allocations: 243.5 kB / 387.2 MB, free: 5.781 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.775e-05/0.3347, allocations: 61.67 kB / 387.3 MB, free: 5.734 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000103/0.3348, allocations: 66.66 kB / 387.3 MB, free: 5.688 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.018e-05/0.3349, allocations: 337 kB / 387.6 MB, free: 5.363 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001604/0.335, allocations: 68.92 kB / 387.7 MB, free: 5.344 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002342/0.3353, allocations: 205.7 kB / 387.9 MB, free: 5.152 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004126/0.3357, allocations: 295.9 kB / 388.2 MB, free: 4.918 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.3357, allocations: 1.062 kB / 388.2 MB, free: 4.918 MB / 318.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005492/0.3363, allocations: 316.8 kB / 388.5 MB, free: 4.805 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/0.3363, allocations: 6.812 kB / 388.5 MB, free: 4.805 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/0.3363, allocations: 5.094 kB / 388.5 MB, free: 4.805 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.598e-05/0.3363, allocations: 6.719 kB / 388.5 MB, free: 4.805 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000305/0.3366, allocations: 82.72 kB / 388.6 MB, free: 4.801 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.724e-05/0.3367, allocations: 10.44 kB / 388.6 MB, free: 4.801 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001909/0.3369, allocations: 38.77 kB / 388.7 MB, free: 4.777 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.874e-05/0.3369, allocations: 20.59 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.0001393/0.3371, allocations: 163.2 kB / 388.8 MB, free: 4.629 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.889e-05/0.3371, allocations: 25.17 kB / 388.9 MB, free: 4.617 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.558e-05/0.3372, allocations: 27.92 kB / 388.9 MB, free: 4.602 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.375e-06/0.3372, allocations: 6.844 kB / 388.9 MB, free: 4.598 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.3372, allocations: 0 / 388.9 MB, free: 4.598 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.678e-06/0.3372, allocations: 2.547 kB / 388.9 MB, free: 4.598 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000704/0.338, allocations: 0.5058 MB / 389.4 MB, free: 4.207 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.338, allocations: 1 kB / 389.4 MB, free: 4.207 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002186/0.3382, allocations: 46.36 kB / 389.5 MB, free: 4.203 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.3382, allocations: 1.188 kB / 389.5 MB, free: 4.203 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.896e-05/0.3382, allocations: 7.812 kB / 389.5 MB, free: 4.199 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.741e-06/0.3382, allocations: 2.25 kB / 389.5 MB, free: 4.199 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.3382, allocations: 5.062 kB / 389.5 MB, free: 4.195 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005727/0.3388, allocations: 424.3 kB / 389.9 MB, free: 3.902 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.444e-05/0.3389, allocations: 115.1 kB / 390 MB, free: 3.781 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.956e-05/0.3389, allocations: 2.328 kB / 390 MB, free: 3.781 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000204/0.3392, allocations: 15.58 kB / 390 MB, free: 3.777 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.072e-05/0.3392, allocations: 19 kB / 390 MB, free: 3.77 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.589e-05/0.3392, allocations: 8 kB / 390 MB, free: 3.77 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002082/0.3395, allocations: 194.6 kB / 390.2 MB, free: 3.656 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3395, allocations: 0 / 390.2 MB, free: 3.656 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004701/0.3399, allocations: 86.8 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.0007969/0.3408, allocations: 0.961 MB / 391.3 MB, free: 2.805 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004735/0.3412, allocations: 189.8 kB / 391.5 MB, free: 2.758 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3412, allocations: 0 / 391.5 MB, free: 2.758 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001664/0.3414, allocations: 71.61 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.0004346/0.3419, allocations: 31.05 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.00447/0.3463, allocations: 3.116 MB / 394.7 MB, free: 484 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004337/0.3468, allocations: 0.7742 MB / 395.5 MB, free: 15.77 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001567/0.347, allocations: 33.78 kB / 395.5 MB, free: 15.76 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001588/0.3471, allocations: 104 kB / 395.6 MB, free: 15.68 MB / 334.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3471, allocations: 0 / 395.6 MB, free: 15.68 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02964/0.3768, allocations: 5.5 MB / 401.1 MB, free: 14.52 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.699/8.076, allocations: 8.938 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