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.001559/0.001559, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001819/0.001819, allocations: 198 kB / 18.73 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.54/1.54, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001749/0.001749, allocations: 59.91 kB / 358.2 MB, free: 13.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2968/0.2985, allocations: 50.55 MB / 408.8 MB, free: 1.531 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.005014/0.3036, allocations: 3.305 MB / 412.1 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002514/0.3061, allocations: 1.405 MB / 413.5 MB, free: 12.8 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002023/0.3063, allocations: 8 kB / 413.5 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004521/0.3068, allocations: 139.1 kB / 413.6 MB, free: 12.65 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001085/0.3079, allocations: 429.7 kB / 414 MB, free: 12.23 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004371/0.3084, allocations: 179.5 kB / 414.2 MB, free: 12.05 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006648/0.309, allocations: 462 kB / 414.7 MB, free: 11.6 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002679/0.3093, allocations: 148.2 kB / 414.8 MB, free: 11.45 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002341/0.3096, allocations: 179.3 kB / 415 MB, free: 11.28 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002832/0.3099, allocations: 203.1 kB / 415.2 MB, free: 11.08 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.562e-05/0.3099, allocations: 36 kB / 415.2 MB, free: 11.04 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003628/0.3103, allocations: 171.8 kB / 415.4 MB, free: 10.88 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.662e-05/0.3104, allocations: 79.69 kB / 415.5 MB, free: 10.8 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001982/0.3106, allocations: 199 kB / 415.7 MB, free: 10.6 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007951/0.3114, allocations: 0.5476 MB / 416.2 MB, free: 10.05 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.3114, allocations: 0 / 416.2 MB, free: 10.05 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3114, allocations: 0 / 416.2 MB, free: 10.05 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.037e-05/0.3114, allocations: 0 / 416.2 MB, free: 10.05 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.00162/0.3131, allocations: 0.7597 MB / 417 MB, free: 9.242 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.3131, allocations: 12.03 kB / 417 MB, free: 9.23 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.846e-05/0.3132, allocations: 70.72 kB / 417 MB, free: 9.152 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007281/0.3139, allocations: 116.6 kB / 417.2 MB, free: 9.039 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005443/0.3145, allocations: 321.8 kB / 417.5 MB, free: 8.684 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.41e-05/0.3145, allocations: 25.38 kB / 417.5 MB, free: 8.66 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.219e-05/0.3146, allocations: 32.38 kB / 417.5 MB, free: 8.629 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006349/0.3152, allocations: 357.5 kB / 417.9 MB, free: 8.266 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.3153, allocations: 3.938 kB / 417.9 MB, free: 8.262 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.753e-05/0.3153, allocations: 12 kB / 417.9 MB, free: 8.25 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.208e-05/0.3153, allocations: 8 kB / 417.9 MB, free: 8.242 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004849/0.3158, allocations: 254 kB / 418.1 MB, free: 7.992 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002087/0.3179, allocations: 1.316 MB / 419.5 MB, free: 6.574 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004045/0.3183, allocations: 205.1 kB / 419.7 MB, free: 6.355 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001926/0.3185, allocations: 85.67 kB / 419.7 MB, free: 6.266 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00113/0.3197, allocations: 1.2 MB / 420.9 MB, free: 4.891 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.815e-05/0.3197, allocations: 38.56 kB / 421 MB, free: 4.844 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.413e-06/0.3197, allocations: 0 / 421 MB, free: 4.844 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005421/0.3203, allocations: 221.4 kB / 421.2 MB, free: 4.621 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.712e-05/0.3204, allocations: 81.11 kB / 421.3 MB, free: 4.523 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000315/0.3207, allocations: 291 kB / 421.6 MB, free: 4.23 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.525e-05/0.3207, allocations: 25.7 kB / 421.6 MB, free: 4.199 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001867/0.3209, allocations: 252.1 kB / 421.8 MB, free: 3.949 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.628e-05/0.321, allocations: 71.41 kB / 421.9 MB, free: 3.879 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.51e-05/0.3211, allocations: 61.97 kB / 422 MB, free: 3.809 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001691/0.3212, allocations: 338.8 kB / 422.3 MB, free: 3.469 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001465/0.3214, allocations: 64.62 kB / 422.4 MB, free: 3.406 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002493/0.3216, allocations: 194.4 kB / 422.5 MB, free: 3.156 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004117/0.3221, allocations: 292.8 kB / 422.8 MB, free: 2.809 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.3221, allocations: 256 / 422.8 MB, free: 2.809 MB / 334.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005444/0.3226, allocations: 312.4 kB / 423.1 MB, free: 2.5 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.3227, allocations: 11.98 kB / 423.2 MB, free: 2.488 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.3227, allocations: 11.94 kB / 423.2 MB, free: 2.477 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.131e-05/0.3227, allocations: 11.94 kB / 423.2 MB, free: 2.465 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002818/0.323, allocations: 84.41 kB / 423.3 MB, free: 2.383 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.461e-05/0.323, allocations: 12.06 kB / 423.3 MB, free: 2.371 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001843/0.3232, allocations: 31.78 kB / 423.3 MB, free: 2.34 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.101e-05/0.3232, allocations: 19.98 kB / 423.3 MB, free: 2.32 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.000156/0.3234, allocations: 149.7 kB / 423.5 MB, free: 2.164 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.054e-05/0.3235, allocations: 31.81 kB / 423.5 MB, free: 2.133 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.893e-05/0.3235, allocations: 29.78 kB / 423.5 MB, free: 2.105 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.375e-05/0.3236, allocations: 7.938 kB / 423.5 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.3236, allocations: 4 kB / 423.5 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.3236, allocations: 3.984 kB / 423.5 MB, free: 2.09 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007062/0.3243, allocations: 0.5108 MB / 424.1 MB, free: 1.52 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.3243, allocations: 3.938 kB / 424.1 MB, free: 1.516 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002073/0.3245, allocations: 43.97 kB / 424.1 MB, free: 1.473 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.3245, allocations: 0 / 424.1 MB, free: 1.473 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.765e-05/0.3246, allocations: 8 kB / 424.1 MB, free: 1.465 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.3246, allocations: 4.031 kB / 424.1 MB, free: 1.461 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.3246, allocations: 3.938 kB / 424.1 MB, free: 1.457 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005363/0.3251, allocations: 419.3 kB / 424.5 MB, free: 1.027 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.94e-05/0.3252, allocations: 116.8 kB / 424.6 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.269e-05/0.3253, allocations: 4.062 kB / 424.6 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000205/0.3255, allocations: 15.98 kB / 424.7 MB, free: 0.875 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.847e-05/0.3255, allocations: 11.98 kB / 424.7 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.317e-05/0.3255, allocations: 8 kB / 424.7 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001987/0.3257, allocations: 198 kB / 424.9 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3258, allocations: 0 / 424.9 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000429/0.3262, allocations: 79.84 kB / 424.9 MB, free: 0.5859 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.0009087/0.3271, allocations: 0.9725 MB / 425.9 MB, free: 15.58 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000396/0.3275, allocations: 195.6 kB / 426.1 MB, free: 15.39 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.3275, allocations: 384 / 426.1 MB, free: 15.39 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001351/0.3277, allocations: 71.91 kB / 426.2 MB, free: 15.32 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004107/0.3281, allocations: 32.88 kB / 426.2 MB, free: 15.29 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003804/0.3319, allocations: 3.123 MB / 429.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003747/0.3323, allocations: 0.7714 MB / 430.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001197/0.3324, allocations: 46.94 kB / 430.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001445/0.3326, allocations: 99.41 kB / 430.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3326, allocations: 4 kB / 430.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02851/0.3611, allocations: 5.563 MB / 435.8 MB, free: 5.605 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.344/8.705, allocations: 3.984 kB / 435.8 MB, free: 5.602 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.1.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