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.001432/0.001433, allocations: 109.4 kB / 17.73 MB, free: 5.336 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.001072/0.001072, allocations: 192.2 kB / 18.67 MB, free: 4.402 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.464/1.464, 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.00123/0.00123, allocations: 63.91 kB / 328 MB, free: 3.812 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1027, allocations: 46.61 MB / 374.6 MB, free: 5.09 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.005141/0.1079, allocations: 3.236 MB / 377.9 MB, free: 1.836 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002624/0.1105, allocations: 1.351 MB / 379.2 MB, free: 484 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004433/0.1111, allocations: 8 kB / 379.2 MB, free: 476 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006166/0.1117, allocations: 147.1 kB / 379.4 MB, free: 328 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2356/0.3474, allocations: 358 kB / 379.7 MB, free: 9.211 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007072/0.3481, allocations: 260.4 kB / 380 MB, free: 9.211 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007362/0.3488, allocations: 450.6 kB / 380.4 MB, free: 9.207 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002531/0.3491, allocations: 155.4 kB / 380.6 MB, free: 9.195 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001883/0.3493, allocations: 169.7 kB / 380.7 MB, free: 9.18 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002435/0.3495, allocations: 198.8 kB / 380.9 MB, free: 9.137 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.33e-05/0.3496, allocations: 35.25 kB / 381 MB, free: 9.137 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003369/0.3499, allocations: 155.3 kB / 381.1 MB, free: 9.137 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.008e-05/0.35, allocations: 82.53 kB / 381.2 MB, free: 9.125 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001536/0.3502, allocations: 198.3 kB / 381.4 MB, free: 9.07 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001012/0.3512, allocations: 0.5315 MB / 381.9 MB, free: 8.992 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.3512, allocations: 4.75 kB / 381.9 MB, free: 8.992 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3512, allocations: 0 / 381.9 MB, free: 8.992 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.747e-05/0.3512, 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.001997/0.3533, allocations: 0.7542 MB / 382.7 MB, free: 8.492 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.365e-05/0.3533, allocations: 9.656 kB / 382.7 MB, free: 8.492 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001073/0.3534, allocations: 69.95 kB / 382.8 MB, free: 8.453 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009422/0.3544, allocations: 101 kB / 382.9 MB, free: 8.43 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000519/0.3549, allocations: 318 kB / 383.2 MB, free: 8.191 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.107e-05/0.355, allocations: 25.44 kB / 383.2 MB, free: 8.188 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.129e-05/0.3551, allocations: 34.16 kB / 383.2 MB, free: 8.188 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008368/0.3559, allocations: 356.3 kB / 383.6 MB, free: 8.125 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.79e-05/0.3559, allocations: 0 / 383.6 MB, free: 8.125 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.432e-05/0.356, allocations: 11.62 kB / 383.6 MB, free: 8.125 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.744e-05/0.356, allocations: 9.391 kB / 383.6 MB, free: 8.125 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000682/0.3567, allocations: 253 kB / 383.8 MB, free: 8.121 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002737/0.3595, allocations: 1.307 MB / 385.2 MB, free: 7.434 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004766/0.36, allocations: 194.7 kB / 385.3 MB, free: 7.336 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001988/0.3602, allocations: 95.23 kB / 385.4 MB, free: 7.289 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008717/0.3611, allocations: 0.8717 MB / 386.3 MB, free: 6.426 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.502e-05/0.3611, allocations: 37.42 kB / 386.3 MB, free: 6.383 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.513e-06/0.3611, allocations: 0 / 386.3 MB, free: 6.383 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.0007385/0.3619, allocations: 218 kB / 386.6 MB, free: 6.289 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.114e-05/0.3619, allocations: 91.03 kB / 386.6 MB, free: 6.188 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003697/0.3623, allocations: 286.5 kB / 386.9 MB, free: 6.023 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.3623, allocations: 29.7 kB / 387 MB, free: 5.988 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001575/0.3625, allocations: 242.7 kB / 387.2 MB, free: 5.785 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.839e-05/0.3625, allocations: 61.48 kB / 387.3 MB, free: 5.738 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001387/0.3627, allocations: 66.64 kB / 387.3 MB, free: 5.691 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.3628, allocations: 336.6 kB / 387.6 MB, free: 5.367 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000223/0.3631, allocations: 69.2 kB / 387.7 MB, free: 5.348 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003436/0.3634, allocations: 204.4 kB / 387.9 MB, free: 5.156 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005511/0.364, allocations: 294.9 kB / 388.2 MB, free: 4.926 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/0.364, allocations: 1.688 kB / 388.2 MB, free: 4.926 MB / 318.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007687/0.3648, allocations: 315.6 kB / 388.5 MB, free: 4.812 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.861e-05/0.3648, allocations: 6.531 kB / 388.5 MB, free: 4.812 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/0.3648, allocations: 4.406 kB / 388.5 MB, free: 4.812 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.242e-05/0.3649, allocations: 7.953 kB / 388.5 MB, free: 4.812 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00041/0.3653, allocations: 82.02 kB / 388.6 MB, free: 4.809 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.521e-05/0.3653, allocations: 14.36 kB / 388.6 MB, free: 4.809 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002973/0.3656, allocations: 39.41 kB / 388.7 MB, free: 4.785 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.674e-05/0.3657, allocations: 16.25 kB / 388.7 MB, free: 4.781 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.0002231/0.3659, allocations: 161.7 kB / 388.8 MB, free: 4.637 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.942e-05/0.366, allocations: 25.8 kB / 388.9 MB, free: 4.625 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.673e-05/0.3661, allocations: 27.52 kB / 388.9 MB, free: 4.609 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.946e-06/0.3661, allocations: 6.562 kB / 388.9 MB, free: 4.605 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.181e-05/0.3661, allocations: 2.047 kB / 388.9 MB, free: 4.605 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.3661, allocations: 0.75 kB / 388.9 MB, free: 4.605 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009612/0.3671, allocations: 0.5055 MB / 389.4 MB, free: 4.215 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.3671, allocations: 0 / 389.4 MB, free: 4.215 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003051/0.3674, allocations: 49.22 kB / 389.5 MB, free: 4.211 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.71e-06/0.3675, allocations: 2.625 kB / 389.5 MB, free: 4.211 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.262e-05/0.3675, allocations: 5.625 kB / 389.5 MB, free: 4.207 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.452e-06/0.3675, allocations: 2.766 kB / 389.5 MB, free: 4.207 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.3675, allocations: 7.203 kB / 389.5 MB, free: 4.203 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006876/0.3682, allocations: 424.1 kB / 389.9 MB, free: 3.91 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.693e-05/0.3683, allocations: 114 kB / 390 MB, free: 3.789 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.148e-05/0.3684, allocations: 3.469 kB / 390 MB, free: 3.789 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002948/0.3687, allocations: 16.77 kB / 390 MB, free: 3.785 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.299e-05/0.3688, allocations: 14.16 kB / 390 MB, free: 3.781 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.781e-05/0.3688, allocations: 9.453 kB / 390 MB, free: 3.777 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002682/0.3691, allocations: 194.1 kB / 390.2 MB, free: 3.664 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3691, allocations: 0 / 390.2 MB, free: 3.664 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007074/0.3698, allocations: 86.75 kB / 390.3 MB, free: 3.641 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.001033/0.3708, allocations: 0.9627 MB / 391.3 MB, free: 2.812 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006871/0.3715, allocations: 195.1 kB / 391.5 MB, free: 2.766 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.3716, allocations: 0 / 391.5 MB, free: 2.766 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002295/0.3718, allocations: 68.3 kB / 391.5 MB, free: 2.75 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006458/0.3725, allocations: 35.61 kB / 391.6 MB, free: 2.73 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00501/0.3775, allocations: 3.109 MB / 394.7 MB, free: 492 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004696/0.378, allocations: 0.7756 MB / 395.5 MB, free: 15.77 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002014/0.3782, allocations: 32.81 kB / 395.5 MB, free: 15.77 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002262/0.3784, allocations: 106.1 kB / 395.6 MB, free: 15.69 MB / 334.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3784, allocations: 0 / 395.6 MB, free: 15.69 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02968/0.4081, allocations: 5.494 MB / 401.1 MB, free: 14.55 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.181/8.589, allocations: 13.22 kB / 401.1 MB, free: 14.54 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