Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,fileNamePrefix="Modelica_4_0_0_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.001456/0.001456, allocations: 115 kB / 16.63 MB, free: 6.812 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.001709/0.001709, allocations: 186 kB / 17.55 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.248/1.248, allocations: 222.9 MB / 241.2 MB, free: 15.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009991/0.0009991, allocations: 46.34 kB / 300.2 MB, free: 6.098 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0819/0.08292, allocations: 49.45 MB / 349.7 MB, free: 4.641 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.004079/0.08703, allocations: 3.305 MB / 353 MB, free: 1.312 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001901/0.08895, allocations: 1.277 MB / 354.3 MB, free: 28 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000258/0.08923, allocations: 11.94 kB / 354.3 MB, free: 16 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004333/0.08967, allocations: 123.5 kB / 354.4 MB, free: 15.89 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000987/0.09069, allocations: 418 kB / 354.8 MB, free: 15.48 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003517/0.09105, allocations: 151.6 kB / 355 MB, free: 15.34 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000575/0.09163, allocations: 442.1 kB / 355.4 MB, free: 14.9 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002259/0.09187, allocations: 148.5 kB / 355.5 MB, free: 14.75 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002118/0.09209, allocations: 171.3 kB / 355.7 MB, free: 14.59 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002553/0.09235, allocations: 199.1 kB / 355.9 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.829e-05/0.09242, allocations: 36 kB / 355.9 MB, free: 14.36 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003005/0.09272, allocations: 159.9 kB / 356.1 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.321e-05/0.0928, allocations: 79.69 kB / 356.2 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001609/0.09296, allocations: 195 kB / 356.4 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005979/0.09357, allocations: 0.5295 MB / 356.9 MB, free: 13.4 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.09358, allocations: 4 kB / 356.9 MB, free: 13.39 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.09359, allocations: 0 / 356.9 MB, free: 13.39 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.055e-05/0.09361, allocations: 0 / 356.9 MB, free: 13.39 MB / 302.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.001366/0.09498, allocations: 0.7369 MB / 357.6 MB, free: 12.61 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.09502, allocations: 16.02 kB / 357.6 MB, free: 12.59 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.193e-05/0.0951, allocations: 74.72 kB / 357.7 MB, free: 12.51 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005719/0.09568, allocations: 92.42 kB / 357.8 MB, free: 12.42 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003531/0.09604, allocations: 300.5 kB / 358.1 MB, free: 12.09 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.15e-05/0.09607, allocations: 29.38 kB / 358.1 MB, free: 12.06 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.114e-05/0.09613, allocations: 28.38 kB / 358.2 MB, free: 12.03 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005658/0.0967, allocations: 361.4 kB / 358.5 MB, free: 11.67 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.09673, allocations: 4 kB / 358.5 MB, free: 11.66 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.321e-05/0.09676, allocations: 12 kB / 358.5 MB, free: 11.65 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.09678, allocations: 8 kB / 358.5 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004423/0.09722, allocations: 250.1 kB / 358.8 MB, free: 11.4 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001852/0.09909, allocations: 1.327 MB / 360.1 MB, free: 9.973 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003466/0.09944, allocations: 205.1 kB / 360.3 MB, free: 9.754 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001453/0.0996, allocations: 81.69 kB / 360.4 MB, free: 9.668 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007139/0.1003, allocations: 0.8791 MB / 361.3 MB, free: 8.688 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.343e-05/0.1004, allocations: 38.5 kB / 361.3 MB, free: 8.641 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.573e-06/0.1004, allocations: 3.938 kB / 361.3 MB, free: 8.637 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005102/0.1009, allocations: 217.2 kB / 361.5 MB, free: 8.418 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.294e-05/0.1009, allocations: 85.05 kB / 361.6 MB, free: 8.316 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002551/0.1012, allocations: 278.9 kB / 361.9 MB, free: 8.035 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.288e-05/0.1012, allocations: 37.7 kB / 361.9 MB, free: 7.992 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001329/0.1014, allocations: 239.5 kB / 362.1 MB, free: 7.754 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.668e-05/0.1014, allocations: 63.11 kB / 362.2 MB, free: 7.691 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.43e-05/0.1015, allocations: 65.92 kB / 362.3 MB, free: 7.621 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001023/0.1016, allocations: 334.8 kB / 362.6 MB, free: 7.285 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001434/0.1018, allocations: 68.62 kB / 362.7 MB, free: 7.219 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002038/0.102, allocations: 209.2 kB / 362.9 MB, free: 6.957 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003707/0.1024, allocations: 288.1 kB / 363.1 MB, free: 6.617 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.1024, allocations: 4 kB / 363.2 MB, free: 6.613 MB / 302.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005003/0.1029, allocations: 316.9 kB / 363.5 MB, free: 6.297 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.1029, allocations: 10.81 kB / 363.5 MB, free: 6.289 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.1029, allocations: 8.234 kB / 363.5 MB, free: 6.281 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.1029, allocations: 11.94 kB / 363.5 MB, free: 6.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002601/0.1032, allocations: 80.41 kB / 363.6 MB, free: 6.191 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.58e-05/0.1032, allocations: 19.92 kB / 363.6 MB, free: 6.172 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001901/0.1034, allocations: 31.69 kB / 363.6 MB, free: 6.141 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.966e-05/0.1035, allocations: 16 kB / 363.6 MB, free: 6.125 MB / 302.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.0001347/0.1036, allocations: 153.7 kB / 363.8 MB, free: 5.965 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.949e-05/0.1037, allocations: 31.61 kB / 363.8 MB, free: 5.934 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.529e-05/0.1037, allocations: 29.75 kB / 363.8 MB, free: 5.906 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.1038, allocations: 3.938 kB / 363.9 MB, free: 5.902 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.298e-05/0.1038, allocations: 3.984 kB / 363.9 MB, free: 5.898 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.1038, allocations: 8 kB / 363.9 MB, free: 5.891 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006811/0.1045, allocations: 0.4991 MB / 364.4 MB, free: 5.332 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.1045, allocations: 3.938 kB / 364.4 MB, free: 5.328 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002184/0.1047, allocations: 47.91 kB / 364.4 MB, free: 5.281 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.1047, allocations: 0 / 364.4 MB, free: 5.281 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.173e-05/0.1047, allocations: 8 kB / 364.4 MB, free: 5.273 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.1048, allocations: 0 / 364.4 MB, free: 5.273 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.1048, allocations: 7.969 kB / 364.4 MB, free: 5.266 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005351/0.1053, allocations: 411.2 kB / 364.8 MB, free: 4.844 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.92e-05/0.1054, allocations: 112.7 kB / 364.9 MB, free: 4.715 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.562e-05/0.1054, allocations: 0 / 364.9 MB, free: 4.715 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002034/0.1056, allocations: 20.05 kB / 365 MB, free: 4.695 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.379e-05/0.1057, allocations: 15.92 kB / 365 MB, free: 4.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.449e-05/0.1057, allocations: 8 kB / 365 MB, free: 4.672 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001882/0.1059, allocations: 194 kB / 365.2 MB, free: 4.484 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1059, allocations: 0 / 365.2 MB, free: 4.484 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004099/0.1063, allocations: 87.69 kB / 365.3 MB, free: 4.398 MB / 302.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.0007659/0.1071, allocations: 0.9699 MB / 366.2 MB, free: 3.395 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003723/0.1075, allocations: 184.7 kB / 366.4 MB, free: 3.215 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1075, allocations: 0 / 366.4 MB, free: 3.215 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001303/0.1076, allocations: 72.09 kB / 366.5 MB, free: 3.145 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004447/0.1081, allocations: 40 kB / 366.5 MB, free: 3.109 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1284/0.2365, allocations: 3.248 MB / 369.8 MB, free: 24.75 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002411/0.2368, allocations: 0.7723 MB / 370.5 MB, free: 24.06 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001874/0.237, allocations: 33 kB / 370.6 MB, free: 24.06 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001396/0.2371, allocations: 106.5 kB / 370.7 MB, free: 24.05 MB / 302.1 MB Notification: Performance of SimCode: time 8.21e-07/0.2371, allocations: 1.656 kB / 370.7 MB, free: 24.05 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.504/1.741, allocations: 5.236 MB / 375.9 MB, free: 23.68 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002192/1.742, allocations: 238 kB / 376.1 MB, free: 23.43 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.628/4.37, allocations: 0 / 376.1 MB, free: 23.43 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance.fmu > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/SinglePhaseInductance/SinglePhaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches