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.001818/0.001818, allocations: 114.9 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002105/0.002105, allocations: 205.9 kB / 18.74 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.464/1.464, allocations: 227.4 MB / 247 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001781/0.001781, allocations: 55.91 kB / 358.3 MB, free: 13.35 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2769/0.2787, allocations: 50.55 MB / 408.8 MB, free: 1.477 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.004852/0.2836, allocations: 3.316 MB / 412.1 MB, free: 14.15 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002324/0.2859, allocations: 1.413 MB / 413.5 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001755/0.2861, allocations: 4 kB / 413.5 MB, free: 12.72 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004155/0.2865, allocations: 143.1 kB / 413.7 MB, free: 12.58 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009734/0.2875, allocations: 425.7 kB / 414.1 MB, free: 12.16 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003977/0.2879, allocations: 175.5 kB / 414.3 MB, free: 11.99 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006256/0.2886, allocations: 462 kB / 414.7 MB, free: 11.54 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002621/0.2888, allocations: 152.2 kB / 414.9 MB, free: 11.39 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002404/0.2891, allocations: 175.3 kB / 415 MB, free: 11.21 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000298/0.2894, allocations: 207.1 kB / 415.2 MB, free: 11.01 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.937e-05/0.2895, allocations: 32 kB / 415.3 MB, free: 10.98 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000355/0.2898, allocations: 175.8 kB / 415.5 MB, free: 10.81 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.996e-05/0.2899, allocations: 87.61 kB / 415.5 MB, free: 10.72 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001971/0.2901, allocations: 195.1 kB / 415.7 MB, free: 10.53 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007264/0.2909, allocations: 0.5515 MB / 416.3 MB, free: 9.98 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.2909, allocations: 3.938 kB / 416.3 MB, free: 9.977 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2909, allocations: 0 / 416.3 MB, free: 9.977 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.114e-06/0.2909, allocations: 0 / 416.3 MB, free: 9.977 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.001494/0.2924, allocations: 0.752 MB / 417 MB, free: 9.172 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.2924, allocations: 12.03 kB / 417 MB, free: 9.16 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.416e-05/0.2925, allocations: 70.72 kB / 417.1 MB, free: 9.082 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007417/0.2933, allocations: 112.6 kB / 417.2 MB, free: 8.973 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004917/0.2938, allocations: 321.8 kB / 417.5 MB, free: 8.617 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.754e-05/0.2938, allocations: 25.38 kB / 417.6 MB, free: 8.594 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.099e-05/0.2939, allocations: 32.38 kB / 417.6 MB, free: 8.562 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006157/0.2945, allocations: 361.4 kB / 417.9 MB, free: 8.195 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.2945, allocations: 0 / 417.9 MB, free: 8.195 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.809e-05/0.2946, allocations: 15.98 kB / 418 MB, free: 8.18 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/0.2946, allocations: 12 kB / 418 MB, free: 8.168 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005596/0.2952, allocations: 258 kB / 418.2 MB, free: 7.914 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002163/0.2973, allocations: 1.319 MB / 419.5 MB, free: 6.492 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003901/0.2977, allocations: 189.1 kB / 419.7 MB, free: 6.289 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000178/0.2979, allocations: 89.67 kB / 419.8 MB, free: 6.195 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001114/0.2991, allocations: 1.196 MB / 421 MB, free: 4.824 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.922e-05/0.2991, allocations: 38.56 kB / 421.1 MB, free: 4.777 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.683e-06/0.2991, allocations: 4 kB / 421.1 MB, free: 4.773 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005748/0.2997, allocations: 225.4 kB / 421.3 MB, free: 4.547 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.5e-05/0.2998, allocations: 77.11 kB / 421.4 MB, free: 4.453 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003132/0.3001, allocations: 290.9 kB / 421.6 MB, free: 4.16 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.346e-05/0.3001, allocations: 29.7 kB / 421.7 MB, free: 4.125 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001744/0.3003, allocations: 244.1 kB / 421.9 MB, free: 3.883 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.485e-05/0.3004, allocations: 67.47 kB / 422 MB, free: 3.816 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.913e-05/0.3005, allocations: 69.97 kB / 422 MB, free: 3.738 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.3007, allocations: 338.8 kB / 422.4 MB, free: 3.398 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001536/0.3008, allocations: 64.62 kB / 422.4 MB, free: 3.336 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002556/0.3011, allocations: 194.4 kB / 422.6 MB, free: 3.086 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000446/0.3015, allocations: 292.8 kB / 422.9 MB, free: 2.738 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.3015, allocations: 0 / 422.9 MB, free: 2.738 MB / 334.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000551/0.3021, allocations: 309.5 kB / 423.2 MB, free: 2.43 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.3021, allocations: 15.92 kB / 423.2 MB, free: 2.414 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.3021, allocations: 4 kB / 423.2 MB, free: 2.41 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.3022, allocations: 7.938 kB / 423.2 MB, free: 2.402 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002794/0.3024, allocations: 83.84 kB / 423.3 MB, free: 2.32 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/0.3025, allocations: 7.984 kB / 423.3 MB, free: 2.312 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001937/0.3027, allocations: 35.78 kB / 423.4 MB, free: 2.277 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.534e-05/0.3027, allocations: 20.12 kB / 423.4 MB, free: 2.258 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.0001512/0.3029, allocations: 153.7 kB / 423.5 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.694e-05/0.3029, allocations: 27.81 kB / 423.6 MB, free: 2.07 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.356e-05/0.303, allocations: 29.78 kB / 423.6 MB, free: 2.043 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.613e-06/0.303, allocations: 7.938 kB / 423.6 MB, free: 2.035 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.303, allocations: 3.984 kB / 423.6 MB, free: 2.031 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/0.303, allocations: 3.984 kB / 423.6 MB, free: 2.027 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007329/0.3038, allocations: 0.5108 MB / 424.1 MB, free: 1.457 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.3038, allocations: 4.25 kB / 424.1 MB, free: 1.453 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002103/0.304, allocations: 47.97 kB / 424.2 MB, free: 1.406 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.304, allocations: 0 / 424.2 MB, free: 1.406 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.762e-05/0.304, allocations: 4 kB / 424.2 MB, free: 1.402 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.3041, allocations: 4 kB / 424.2 MB, free: 1.398 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.3041, allocations: 3.938 kB / 424.2 MB, free: 1.395 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005982/0.3047, allocations: 423.4 kB / 424.6 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.322e-05/0.3048, allocations: 112.8 kB / 424.7 MB, free: 0.832 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.875e-05/0.3048, allocations: 7.938 kB / 424.7 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001993/0.305, allocations: 11.98 kB / 424.7 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.865e-05/0.3051, allocations: 20.05 kB / 424.7 MB, free: 0.793 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-05/0.3051, allocations: 4 kB / 424.7 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000214/0.3053, allocations: 198 kB / 424.9 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3053, allocations: 0 / 424.9 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004261/0.3058, allocations: 83.84 kB / 425 MB, free: 0.5156 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.001022/0.3068, allocations: 0.9705 MB / 426 MB, free: 15.52 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004356/0.3072, allocations: 199.1 kB / 426.2 MB, free: 15.32 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.3072, allocations: 0 / 426.2 MB, free: 15.32 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001548/0.3074, allocations: 69.47 kB / 426.3 MB, free: 15.26 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004157/0.3078, allocations: 36.5 kB / 426.3 MB, free: 15.23 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004046/0.3119, allocations: 3.127 MB / 429.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004397/0.3123, allocations: 0.7714 MB / 430.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001323/0.3125, allocations: 34.95 kB / 430.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001531/0.3126, allocations: 103.4 kB / 430.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of SimCode: time 3.9e-07/0.3127, allocations: 0 / 430.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02938/0.342, allocations: 5.568 MB / 435.9 MB, free: 5.535 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.306/8.648, allocations: 13.44 kB / 435.9 MB, free: 5.527 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 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.mat","/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